Share via


IVsPropertyPage2.SetProperty(UInt32, Object) Method

Definition

Sets the information contained by the property.

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

Parameters

propid
UInt32

[in] Identifier of the property. For a list of propid values, see __VSPPPID.

var
Object

[in] Pointer to VARIANT that contains the property settings.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsPropertyPage2::SetProperty(  
   [in] VSPPPID propid, [in] VARIANT var  
);  

Applies to