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_GenerateMultilineStringLiterals_snippet_142645_ENU____.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2008-09-17  |  933b  |  25 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>Generate Multiline String Literals </Title>
  6.       <Author>Microsoft Corporation</Author>
  7.       <Description>Constructs a string literal that is three lines long.</Description>
  8.       <Keywords>
  9.       </Keywords>
  10.       <Shortcut>typeMulti</Shortcut>
  11.     </Header>
  12.     <Snippet>
  13.       <Imports>
  14.         <Import>
  15.           <Namespace>Microsoft.VisualBasic</Namespace>
  16.         </Import>
  17.       </Imports>
  18.       <Code Language="VB" Kind="method body"><![CDATA[Dim longString As String
  19. longString = _
  20.     "This is the first line of my string." & ControlChars.CrLf & _
  21.     "This is the second line of my string." & ControlChars.CrLf & _
  22.     "This is the third line of my string."]]></Code>
  23.     </Snippet>
  24.   </CodeSnippet>
  25. </CodeSnippets>