命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
Public Overridable Function MapSecondaryToPrimarySpan ( _
tsSecondary As TextSpan, _
<OutAttribute> ptsPrimary As TextSpan() _
) As Integer
public virtual int MapSecondaryToPrimarySpan(
TextSpan tsSecondary,
TextSpan[] ptsPrimary
)
public:
virtual int MapSecondaryToPrimarySpan(
[InAttribute] TextSpan tsSecondary,
[OutAttribute] array<TextSpan>^ ptsPrimary
)
abstract MapSecondaryToPrimarySpan :
tsSecondary:TextSpan *
ptsPrimary:TextSpan[] byref -> int
override MapSecondaryToPrimarySpan :
tsSecondary:TextSpan *
ptsPrimary:TextSpan[] byref -> int
public function MapSecondaryToPrimarySpan(
tsSecondary : TextSpan,
ptsPrimary : TextSpan[]
) : int
参数
- tsSecondary
类型:Microsoft.VisualStudio.TextManager.Interop.TextSpan
- ptsPrimary
类型:array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
返回值
类型:Int32
实现
IVsTextBufferCoordinator.MapSecondaryToPrimarySpan(TextSpan, array<TextSpan[])
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。