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_SelectCaseStatement_snippet_142589_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2008-06-12  |  1KB  |  44 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>Select Case Statement</Title>
  6.       <Author>Microsoft Corporation</Author>
  7.       <Description>Inserts a Select Case statement.</Description>
  8.       <Shortcut>Select</Shortcut>
  9.     </Header>
  10.     <Snippet>
  11.       <Imports>
  12.       </Imports>
  13.       <Declarations>
  14.         <Object>
  15.           <ID>Variable</ID>
  16.           <Type>Object</Type>
  17.           <ToolTip>Replace with an expression.</ToolTip>
  18.           <Default>VariableName</Default>
  19.         </Object>
  20.         <Literal>
  21.           <ID>Case1</ID>
  22.           <Type></Type>
  23.           <ToolTip>Replace with a valid value of the expression.</ToolTip>
  24.           <Default>1</Default>
  25.         </Literal>
  26.         <Literal>
  27.           <ID>Case2</ID>
  28.           <Type></Type>
  29.           <ToolTip>Replace with another valid value of the expression.</ToolTip>
  30.           <Default>2</Default>
  31.         </Literal>
  32.       </Declarations>
  33.       <Code Language="VB" Kind="method body">
  34.   <![CDATA[Select Case $Variable$
  35.     Case $Case1$
  36.  
  37.     Case $Case2$
  38.  
  39.     Case Else
  40.  
  41. End Select]]></Code>
  42.     </Snippet>
  43.   </CodeSnippet>
  44. </CodeSnippets>