返回标记订单信息。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
Function GetMarkerCommandInfo ( _
pSynthReg As IVsSyntheticRegion, _
iItem As Integer, _
<OutAttribute> pbstrText As String(), _
<OutAttribute> pcmdf As UInteger() _
) As Integer
int GetMarkerCommandInfo(
IVsSyntheticRegion pSynthReg,
int iItem,
string[] pbstrText,
uint[] pcmdf
)
int GetMarkerCommandInfo(
[InAttribute] IVsSyntheticRegion^ pSynthReg,
[InAttribute] int iItem,
[OutAttribute] array<String^>^ pbstrText,
[OutAttribute] array<unsigned int>^ pcmdf
)
abstract GetMarkerCommandInfo :
pSynthReg:IVsSyntheticRegion *
iItem:int *
pbstrText:string[] byref *
pcmdf:uint32[] byref -> int
function GetMarkerCommandInfo(
pSynthReg : IVsSyntheticRegion,
iItem : int,
pbstrText : String[],
pcmdf : uint[]
) : int
参数
pSynthReg
类型:Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion[in] 复合区域相关。
iItem
类型:Int32[in] 标记执行顺序。 (请参见 MarkerCommandValues)
pbstrText
类型:array<String[][out] [可选] 设置命令的标题。
pcmdf
类型:array<UInt32[][out] 命令可见性的标志,启用等。
返回值
类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。
备注
COM 签名
从 textmgr.idl:
HRESULT IVsSyntheticTextClient::GetMarkerCommandInfo(
[in] IVsSyntheticRegion *pSynthReg,
[in] long iItem,
[out, custom(uuid_IVsSyntheticTextClient, "optional")] BSTR * pbstrText,
[out] DWORD* pcmdf
);
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。