Compartilhar via


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

  • vtOption
    Type: Object

    The value of the option.

.NET Framework Security

See Also

Reference

IVSMDPropertyGrid Interface

Microsoft.VisualStudio.Designer.Interfaces Namespace