Datasheet

<Default>0</Default>
</Literal>
<Literal>
<ID>PropertyName</ID>
<ToolTip>The property’s name.</ToolTip>
<Default>MyProperty</Default>
</Literal>
</Declarations>
<Code Language=”VB”>
<![CDATA[
‘ $Description$
Private m_$PropertyName$ As $DataType$ = $DefaultValue$
Public Property $PropertyName$() As $DataType$
Get
Return m_$PropertyName$
End Get
Set(ByVal value As $DataType$)
m_$PropertyName$ = value
End Set
End Property
]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Save the snippet’s XML definition in a snippet directory. To add the directory to the list of usable snippet
locations, select the Tool menu’s Code Snippets Manager command to display the tool shown in Figure 1-63.
Click the Add button, browse to the new snippet directory, and click OK. Now the directory and the snip-
pets that it contains will be available in the Insert Snippet pop-ups.
Figure 1-63: The Code Snippets Manager lets you add and
remove snippet directories.
67
Chapter 1: IDE
37055c016.qxd 4/8/07 12:46 PM Page 67










