IVSMDPropertyGrid.SetOption Method
Sets the specified option.
Namespace: Microsoft.VisualStudio.Designer.Interfaces
Assembly: Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)
Syntax
'Declaration
Sub SetOption ( _
option As _PROPERTYGRIDOPTION, _
vtOption As Object _
)
void SetOption(
_PROPERTYGRIDOPTION option,
Object vtOption
)
void SetOption(
[InAttribute] _PROPERTYGRIDOPTION option,
[InAttribute] Object^ vtOption
)
abstract SetOption :
option:_PROPERTYGRIDOPTION *
vtOption:Object -> unit
function SetOption(
option : _PROPERTYGRIDOPTION,
vtOption : Object
)
Parameters
option
Type: Microsoft.VisualStudio.Designer.Interfaces._PROPERTYGRIDOPTIONThe _PROPERTYGRIDOPTION.
vtOption
Type: ObjectThe value of the option.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.