Edit

Share via


DesignerOptionService.IDesignerOptionService.GetOptionValue Method

Definition

Gets the value of an option defined in this package.

 virtual System::Object ^ System.ComponentModel.Design.IDesignerOptionService.GetOptionValue(System::String ^ pageName, System::String ^ valueName) = System::ComponentModel::Design::IDesignerOptionService::GetOptionValue;
object IDesignerOptionService.GetOptionValue (string pageName, string valueName);
abstract member System.ComponentModel.Design.IDesignerOptionService.GetOptionValue : string * string -> obj
override this.System.ComponentModel.Design.IDesignerOptionService.GetOptionValue : string * string -> obj
Function GetOptionValue (pageName As String, valueName As String) As Object Implements IDesignerOptionService.GetOptionValue

Parameters

pageName
String

The page to which the option is bound.

valueName
String

The name of the option value.

Returns

The value of the option named valueName.

Implements

Exceptions

pageName or valueName is null.

Applies to

See also