IVsUserContextItemProvider.SetProperty(Int32, Object) Método

Definição

Define a propriedade especificada.

public:
 int SetProperty(int property, System::Object ^ var);
public:
 int SetProperty(int property, Platform::Object ^ var);
int SetProperty(int property, winrt::Windows::Foundation::IInspectable const & var);
public int SetProperty (int property, object var);
abstract member SetProperty : int * obj -> int
Public Function SetProperty (property As Integer, var As Object) As Integer

Parâmetros

property
Int32
var
Object

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De Context. idl:

HRESULT IVsUserContextItemProvider::SetProperty(  
   [in] VSCIPPROPID property,   
   in] VARIANT var  
);  

Aplica-se a