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_EventStub___Property_snippet_121816_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2009-04-01  |  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>Event Stub - Property</Title>
  6.             <Description>Snippet for generating an explicit event 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>
  19.                     <ID>Exception</ID>
  20.                     <Function>SimpleTypeName(global::System.Exception)</Function>
  21.                 </Literal>
  22.             </Declarations>
  23.             <Code Language="csharp">
  24.                 <![CDATA[$signature$
  25. {
  26.     add { $end$throw new $Exception$("The method or operation is not implemented."); }    
  27.     remove { throw new $Exception$("The method or operation is not implemented."); }
  28. }]]>
  29.             </Code>
  30.         </Snippet>
  31.     </CodeSnippet>
  32. </CodeSnippets>