次の方法で共有


コード スニペット スキーマ リファレンス

更新 : 2007 年 11 月

ここでは、IntelliSense コード スニペットを構成するすべての XML スキーマ要素と、その属性および子要素を一覧に示しています。

IntelliSense コード スニペットとは、Visual Studio 2005 でのアプリケーション開発時に、簡単に挿入できるようにあらかじめ作成されたコードです。コード スニペットを用意しておくことで、同じようなコードを繰り返し入力したり、サンプルを検索したりすることに余分な時間を割くことなく、生産性を高めることができます。IntelliSense コード スニペット XML スキーマを使用すると、Visual Basic、Visual C#、または XML コード スニペットを独自に作成し、それらを Visual Studio 2005 に標準で付属しているコード スニペットに追加できます。

IntelliSense コード スニペット スキーマ要素

次の表は、IntelliSense コード スニペットを構成するすべての XML スキーマ要素と、その属性および子要素を一覧にしたものです。

要素

子要素

属性

Assembly

--

--

Author

--

--

Code

--

Delimiter

Kind

Language

CodeSnippet

Header

Snippet

Format

CodeSnippets

CodeSnippets

--

Declarations

Literal

Object

--

Default

--

--

Description

--

--

Function

--

--

Header

Author

Description

HelpUrl

Keywords

Shortcut

SnippetTypes

Title

--

HelpUrl

--

--

ID

--

--

Import

Namespace

--

Imports

Import

--

Keyword

--

--

Keywords

Keyword

--

Literal

Default

Function

ID

Type

ToolTip

Editable

Namespace

--

--

Object

Default

Function

ID

Type

ToolTip

Editable

Reference

Assembly

Url

--

References

Reference

--

Shortcut

--

--

Snippet

Code

Declarations

Imports

References

--

SnippetType

--

--

SnippetTypes

SnippetType

--

Title

--

--

ToolTip

--

--

Type

--

--

Url

--

--

参照

参照

IntelliSense コード スニペットの作成と使用

その他の技術情報

Visual Studio XML リファレンス