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)
Syntax
'Déclaration
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.
Implements
IVsTextMarker.GetMarkerCommandInfo(Int32, array<String[], array<UInt32[])
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.