NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IHelpService.AddContextAttribute (String, String, HelpKeywordType)

Adds a context attribute to the document. Context attributes are used to provide context-sensitive help to users. The designer host will automatically add context attributes from available help attributes on selected components and properties. This method allows you to further customize the context-sensitive help.

[Visual Basic]
Overloads Sub AddContextAttribute( _
   ByVal name As String, _
   ByVal value As String, _
   ByVal keywordType As HelpKeywordType _
)
[C#]
void AddContextAttribute(
   string name,
   string value,
   HelpKeywordType keywordType
);
[C++]
void AddContextAttribute(
   String* name,
   String* value,
   HelpKeywordType keywordType
) = 0;
[JScript]
function AddContextAttribute(
   name : String,
   value : String,
   keywordType : HelpKeywordType
);

Parameters

name
The name of the attribute to add.
value
The value of the attribute.
keywordType
The type of the keyword, from the enum HelpKeywordType

See Also

IHelpService Interface | IHelpService Members | System.ComponentModel.Design Namespace | IHelpService.AddContextAttribute Overload List