IVsTextLayerMarker.GetMarkerCommandInfo(Int32, String[], UInt32[]) 方法

定义

获取标记命令信息。

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

参数

iItem
Int32

中标记器命令项,请参见 MarkerCommandValues

pbstrText
String[]

弄标记命令的文本(如果有的话)。

pcmdf
UInt32[]

弄命令标志。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

COM 签名

从 textmgr:

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

适用于