Visual Studio 2008 C#の#regionプリプロセッサコードスニペットです。 Visual Studioでこのコードを登録すると、コードスニペットとして使用できます。
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>region</Title>
<Shortcut>region</Shortcut>
<Description>自動的に実装されるregionのコード スニペット</Description>
<Author>Microsoft Corporation</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
<SnippetType>SurroundsWith</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>name</ID>
<ToolTip>regionの名前</ToolTip>
<Default>Region Name</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[#region $name$
$end$
#endregion // $name$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>