IVsPropertyPage2.SetProperty(UInt32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
);