IVsWindowView::GetProperty Method (Int32, Object^)

 

Retrieves the value of a property.

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

int GetProperty(
	int propid,
	[OutAttribute] Object^% pvar
)

Parameters

propid
Type: System::Int32

[in] Integer. The property to retrieve. A value from the __VSVPROPID enumeration.

pvar
Type: System::Object^

[out] Pointer to a VARIANT containing the property's value.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsWindowView::GetProperty(
   [in] VSVPROPID propid, 
   [out] VARIANT *pvar
);
Return to top
Show: