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!

IDesignerOptionService.SetOptionValue

Sets the value of an option defined in this package.

[Visual Basic]
Sub SetOptionValue( _
   ByVal pageName As String, _
   ByVal valueName As String, _
   ByVal value As Object _
)
[C#]
void SetOptionValue(
   string pageName,
   string valueName,
   object value
);
[C++]
void SetOptionValue(
   String* pageName,
   String* valueName,
   Object* value
) = 0;
[JScript]
function SetOptionValue(
   pageName : String,
   valueName : String,
   value : Object
);

Parameters

pageName
The name of the page that defines the option.
valueName
The name of the option property.
value
The new value.

Remarks

For sub-pages, the page name should be a backslash-delineated concatenation of the page names up to the main page node. Specifying just the main node name will access the first (the default) page for the node.

See Also

IDesignerOptionService Interface | IDesignerOptionService Members | System.ComponentModel.Design Namespace