コンテキスト属性をドキュメントに追加します。
Sub AddContextAttribute( _
ByVal name As String, _ ByVal value As String, _ ByVal keywordType As HelpKeywordType _)
[C#]
void AddContextAttribute(
stringname,stringvalue,HelpKeywordTypekeywordType);
[C++]
void AddContextAttribute(
String* name,String* value,HelpKeywordTypekeywordType);
[JScript]
function AddContextAttribute(
name : String,value : String,keywordType : HelpKeywordType);
パラメータ
- name
追加する属性の名前。 - value
属性の値。 - keywordType
キーワードの種類を示す、列挙体 HelpKeywordType の値。
解説
コンテキスト属性は、状況依存のヘルプをユーザーに提供するために使用します。デザイナ ホストは、特定のコンポーネントおよびプロパティに関して有効なヘルプ属性から、コンテキスト属性を自動的に追加します。このメソッドを使用すると、状況依存のヘルプをさらにカスタマイズできます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
IHelpService インターフェイス | IHelpService メンバ | System.ComponentModel.Design 名前空間 | HelpKeywordType