Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the marker command information.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetMarkerCommandInfo ( _
iItem As Integer, _
<OutAttribute> pbstrText As String(), _
<OutAttribute> pcmdf As UInteger() _
) As Integer
int GetMarkerCommandInfo(
int iItem,
string[] pbstrText,
uint[] pcmdf
)
int GetMarkerCommandInfo(
[InAttribute] int iItem,
[OutAttribute] array<String^>^ pbstrText,
[OutAttribute] array<unsigned int>^ pcmdf
)
abstract GetMarkerCommandInfo :
iItem:int *
pbstrText:string[] byref *
pcmdf:uint32[] byref -> int
function GetMarkerCommandInfo(
iItem : int,
pbstrText : String[],
pcmdf : uint[]
) : int
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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayerMarker::GetMarkerCommandInfo(
[in] long iItem,
[out, custom(uuid_IVsTextMarker, "optional")] BSTR * pbstrText,
[out] DWORD* pcmdf
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.