IVsTextLayerMarker::GetMarkerCommandInfo Method (Int32, array<String^>^, array<UInt32>^)

 

Gets the marker command information.

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

int GetMarkerCommandInfo(
	int iItem,
	array<String^>^ pbstrText,
	array<unsigned int>^ pcmdf
)

Parameters

iItem
Type: System::Int32

[in] The marker command item, see MarkerCommandValues.

pbstrText
Type: array<System::String^>^

[out] The text of the marker command, if any.

pcmdf
Type: array<System::UInt32>^

[out] The command flags.

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 IVsTextLayerMarker::GetMarkerCommandInfo(
   [in] long iItem,
   [out, custom(uuid_IVsTextMarker, "optional")] BSTR * pbstrText,
   [out] DWORD* pcmdf
);
Return to top
Show: