home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / InfoPath.en-us / InfLR.cab / FL_DefineAPublicSub_snippet_142752_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2008-06-12  |  876b  |  26 lines

  1. ∩╗┐<?xml version="1.0" encoding="UTF-8"?>
  2. <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  3.   <CodeSnippet Format="1.0.0">
  4.     <Header>
  5.       <Title>Define a Sub that is Public</Title>
  6.       <Author>Microsoft Corporation</Author>
  7.       <Description>Uses the Sub keyword to define a method that does not return a value.</Description>
  8.       <Keywords>
  9.       </Keywords>
  10.       <Shortcut>SubPub</Shortcut>
  11.     </Header>
  12.     <Snippet>
  13.       <Declarations>
  14.         <Literal>
  15.           <ID>MethodName</ID>
  16.           <Type>String</Type>
  17.           <ToolTip>Replace with the method name.</ToolTip>
  18.           <Default>MyMethod</Default>
  19.         </Literal>
  20.       </Declarations>      
  21.       <Code Language="VB" Kind="method decl"><![CDATA[Public Sub $MethodName$()
  22.  
  23. End Sub]]></Code>
  24.     </Snippet>
  25.   </CodeSnippet>
  26. </CodeSnippets>