Udostępnij za pośrednictwem


IVsTextLayerMarker.GetMarkerCommandInfo(Int32, String[], UInt32[]) Method

Definition

Gets the marker command information.

public:
 int GetMarkerCommandInfo(int iItem, cli::array <System::String ^> ^ pbstrText, cli::array <System::UInt32> ^ pcmdf);
public:
 int GetMarkerCommandInfo(int iItem, Platform::Array <Platform::String ^> ^ pbstrText, Platform::Array <unsigned int> ^ pcmdf);
int GetMarkerCommandInfo(int iItem, std::Array <std::wstring const &> const & pbstrText, std::Array <unsigned int> const & pcmdf);
public int GetMarkerCommandInfo (int iItem, string[] pbstrText, uint[] pcmdf);
abstract member GetMarkerCommandInfo : int * string[] * uint32[] -> int
Public Function GetMarkerCommandInfo (iItem As Integer, pbstrText As String(), pcmdf As UInteger()) As Integer

Parameters

iItem
Int32

[in] The marker command item, see MarkerCommandValues.

pbstrText
String[]

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

pcmdf
UInt32[]

[out] The command flags.

Returns

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

Implements

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayerMarker::GetMarkerCommandInfo(  
   [in] long iItem,  
   [out, custom(uuid_IVsTextMarker, "optional")] BSTR * pbstrText,  
   [out] DWORD* pcmdf  
);  

Applies to