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, Boolean)

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 required As Boolean _
)
[C#]
void AddContextAttribute(
   string name,
   string value,
   bool required
);
[C++]
void AddContextAttribute(
   String* name,
   String* value,
   bool required
) = 0;
[JScript]
function AddContextAttribute(
   name : String,
   value : String,
   required : Boolean
);

Parameters

name
The name of the attribute to add.
value
The value of the attribute.
required
Whether help topics should only be displayed if they have this attribute.

See Also

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