Freigeben über


IVsSolution2.SetProperty(Int32, Object) Method

Definition

Generically sets properties of the solution.

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

Parameters

propid
Int32
var
Object

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolution2::SetProperty(  
   [in] VSPROPID propid,   
   [in] VARIANT var  
);  

Applies to