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_PropertyStub_snippet_121819_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2009-04-01  |  2KB  |  46 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>Property Stub</Title>
  6.             <Description>Snippet for generating property stub</Description>
  7.             <Author>Microsoft Corporation</Author>
  8.             <SnippetTypes>
  9.                 <SnippetType>Refactoring</SnippetType>
  10.             </SnippetTypes>
  11.         </Header>
  12.         <Snippet>
  13.             <Declarations>
  14.                 <Literal Editable="true">
  15.                     <ID>signature</ID>
  16.                     <Default>signature</Default>
  17.                 </Literal>
  18.                 <Literal Editable="true">
  19.                     <ID>GetterAccessibility</ID>
  20.                     <Default></Default>
  21.                 </Literal>
  22.                 <Literal Editable="true">
  23.                     <ID>SetterAccessibility</ID>
  24.                     <Default></Default>
  25.                 </Literal>
  26.                 <Literal>
  27.                     <ID>Exception</ID>
  28.                     <Function>SimpleTypeName(global::System.Exception)</Function>
  29.                 </Literal>
  30.             </Declarations>
  31.             <Code Language="csharp">
  32.                 <![CDATA[$signature$
  33. {
  34.     $GetterAccessibility$ get 
  35.     { 
  36.         $end$throw new $Exception$("The method or operation is not implemented."); 
  37.     }
  38.     $SetterAccessibility$ set 
  39.     { 
  40.         throw new $Exception$("The method or operation is not implemented."); 
  41.     }
  42. }]]>
  43.             </Code>
  44.         </Snippet>
  45.     </CodeSnippet>
  46. </CodeSnippets>