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;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The option value's Type cannot be statically discovered.")]
object IDesignerOptionService.GetOptionValue(string pageName, string valueName);
object IDesignerOptionService.GetOptionValue(string pageName, string valueName);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The option value's Type cannot be statically discovered.")>]
abstract member System.ComponentModel.Design.IDesignerOptionService.GetOptionValue : string * string -> obj
override this.System.ComponentModel.Design.IDesignerOptionService.GetOptionValue : string * string -> obj
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

Attributes

Exceptions

pageName or valueName is null.

Applies to

See also