IVSMDPropertyGrid.SetOption Method
Sets the specified option.
Namespace: Microsoft.VisualStudio.Designer.Interfaces
Assembly: Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)
Syntax
'宣言
Sub SetOption ( _
option As _PROPERTYGRIDOPTION, _
vtOption As Object _
)
void SetOption(
_PROPERTYGRIDOPTION option,
Object vtOption
)
Parameters
- option
Type: Microsoft.VisualStudio.Designer.Interfaces._PROPERTYGRIDOPTION
The _PROPERTYGRIDOPTION.
- vtOption
Type: System.Object
The 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.