IVsPropertyPage2::SetProperty Method (UInt32, Object^)

 

Sets the information contained by the property.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int SetProperty(
	unsigned int propid,
	Object^ var
)

Parameters

propid
Type: System::UInt32

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

var
Type: System::Object^

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

Return Value

Type: System::Int32

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

From vsshell80.idl:

[C++]

HRESULT IVsPropertyPage2::SetProperty(
   [in] VSPPPID propid, [in] VARIANT var
);
Return to top
Show: