DesignerOptionService.IDesignerOptionService.GetOptionValue Method        
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> objabstract member System.ComponentModel.Design.IDesignerOptionService.GetOptionValue : string * string -> obj
override this.System.ComponentModel.Design.IDesignerOptionService.GetOptionValue : string * string -> objFunction GetOptionValue (pageName As String, valueName As String) As Object Implements IDesignerOptionService.GetOptionValueParameters
- 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.