IVSMDPropertyGrid.SetOption Method
Sets the specified option.
Namespace: Microsoft.VisualStudio.Designer.Interfaces
Assembly: Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)
Syntax
'Dichiarazione
Sub SetOption ( _
option As _PROPERTYGRIDOPTION, _
vtOption As Object _
)
'Utilizzo
Dim instance As IVSMDPropertyGrid
Dim option As _PROPERTYGRIDOPTION
Dim vtOption As Object
instance.SetOption(option, vtOption)
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._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.