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_ComparisonOperators_snippet_142746_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2008-06-12  |  1KB  |  32 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 Comparison Operators (> and <)</Title>
  6.       <Author>Microsoft Corporation</Author>
  7.       <Description>Defines the comparison operators (> and <).</Description>
  8.       <Shortcut>OpComp</Shortcut>
  9.     </Header>
  10.     <Snippet>
  11.       <Imports>
  12.       </Imports>
  13.       <Declarations>
  14.         <Literal>
  15.           <ID>TypeName</ID>
  16.           <Type />
  17.           <ToolTip>Replace with your class name.</ToolTip>
  18.           <Default>MyClass</Default>
  19.         </Literal>
  20.       </Declarations>
  21.       <Code Language="VB" Kind="method decl"><![CDATA[Public Shared Operator >(ByVal left As $TypeName$, _
  22.         ByVal right As $TypeName$) As Boolean
  23.  
  24.     End Operator
  25.  
  26.     Public Shared Operator <(ByVal left As $TypeName$, _
  27.         ByVal right As $TypeName$) As Boolean
  28.  
  29.     End Operator]]></Code>
  30.     </Snippet>
  31.   </CodeSnippet>
  32. </CodeSnippets>