DesignerOptionService.IDesignerOptionService.GetOptionValue Metod

Definition

Hämtar värdet för ett alternativ som definierats i det här paketet.

 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

Parametrar

pageName
String

Sidan som alternativet är bundet till.

valueName
String

Namnet på alternativvärdet.

Returer

Värdet för alternativet med namnet valueName.

Implementeringar

Attribut

Undantag

pageName eller valueName är null.

Gäller för

Se även