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.GetOptionValue

Gets the value of an option defined in this package.

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

Parameters

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

Return Value

The value of the specified option.

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