IVsTextEditorPropertyContainer::GetProperty Method (VSEDITPROPID, Object^)

 

Returns the specified text editor property.

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

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

Parameters

idProp
Type: Microsoft.VisualStudio.TextManager.Interop::VSEDITPROPID

[in] Specified property to return. For a list of idprop values, see VSEDITPROPID.

pvar
Type: System::Object^

[out] Variant containing the returned property information.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsTextEditorPropertyContainer::GetProperty(
   [in] VSEDITPROPID idProp, 
   [out] VARIANT *pvar
);
Return to top
Show: