IVsTextLayerMarker.GetMarkerCommandInfo 方法
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
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
參數
iItem
類型:Int32[in]
pbstrText
類型:array<String[][out]
pcmdf
類型:array<UInt32[][out]
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsTextLayerMarker::GetMarkerCommandInfo(
[in] long iItem,
[out, custom(uuid_IVsTextMarker, "optional")] BSTR * pbstrText,
[out] DWORD* pcmdf
);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。