IVsTextLayer.DeeperLayerLineIndexToLocal 方法
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
Function DeeperLayerLineIndexToLocal ( _
dwFlags As UInteger, _
pTargetLayer As IVsTextLayer, _
iLayerLine As Integer, _
iLayerIndex As Integer, _
<OutAttribute> ByRef piLocalLine As Integer, _
<OutAttribute> ByRef piLocalIndex As Integer _
) As Integer
int DeeperLayerLineIndexToLocal(
uint dwFlags,
IVsTextLayer pTargetLayer,
int iLayerLine,
int iLayerIndex,
out int piLocalLine,
out int piLocalIndex
)
int DeeperLayerLineIndexToLocal(
[InAttribute] unsigned int dwFlags,
[InAttribute] IVsTextLayer^ pTargetLayer,
[InAttribute] int iLayerLine,
[InAttribute] int iLayerIndex,
[OutAttribute] int% piLocalLine,
[OutAttribute] int% piLocalIndex
)
abstract DeeperLayerLineIndexToLocal :
dwFlags:uint32 *
pTargetLayer:IVsTextLayer *
iLayerLine:int *
iLayerIndex:int *
piLocalLine:int byref *
piLocalIndex:int byref -> int
function DeeperLayerLineIndexToLocal(
dwFlags : uint,
pTargetLayer : IVsTextLayer,
iLayerLine : int,
iLayerIndex : int,
piLocalLine : int,
piLocalIndex : int
) : int
參數
dwFlags
類型:UInt32[in]ORing 的DeeperLayerLineIndexToLocalFlags列舉型別。
pTargetLayer
類型:Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer[in]
iLayerLine
類型:Int32[in]
iLayerIndex
類型:Int32[in]
piLocalLine
類型:Int32%[out]
piLocalIndex
類型:Int32%[out]
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsTextLayer::DeeperLayerLineIndexToLocal(
[in] DWORD dwFlags,
[in] IVsTextLayer *pTargetLayer,
[in] long iLayerLine,
[in] CharIndex iLayerIndex,
[out] long *piLocalLine,
[out] CharIndex *piLocalIndex
);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。