DesignerOptionService.IDesignerOptionService.GetOptionValue Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Získá hodnotu možnosti definované v tomto balíčku.
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
Parametry
- pageName
- String
Stránka, na kterou je možnost svázaná.
- valueName
- String
Název hodnoty možnosti.
Návraty
Hodnota možnosti s názvem valueName.
Implementuje
- Atributy
Výjimky
pageName nebo valueName je null.