DesignerOptionService::IDesignerOptionService::SetOptionValue Method (String^, String^, Object^)

 

Sets the value of an option defined in this package.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

private:
virtual void SetOptionValue(
	String^ pageName,
	String^ valueName,
	Object^ value
) sealed = IDesignerOptionService::SetOptionValue

Parameters

pageName
Type: System::String^

The page to which the option is bound

valueName
Type: System::String^

The name of the option value.

value
Type: System::Object^

The value of the option.

Exception Condition
ArgumentNullException

pageName or valueName is null.

.NET Framework
Available since 2.0
Return to top
Show: