Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.9.0 (in Microsoft.VisualStudio.TextManager.Interop.9.0.dll)
Syntax
'宣言
Function SetSubjectFromPrimaryBuffer ( _
pSpanInPrimary As TextSpan() _
) As Integer
'使用
Dim instance As IVsTextViewIntellisenseHost_Corrected
Dim pSpanInPrimary As TextSpan()
Dim returnValue As Integer
returnValue = instance.SetSubjectFromPrimaryBuffer(pSpanInPrimary)
int SetSubjectFromPrimaryBuffer(
TextSpan[] pSpanInPrimary
)
int SetSubjectFromPrimaryBuffer(
array<TextSpan>^ pSpanInPrimary
)
function SetSubjectFromPrimaryBuffer(
pSpanInPrimary : TextSpan[]
) : int
Parameters
- pSpanInPrimary
Type: []
Return Value
Type: System.Int32
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsTextViewIntellisenseHost_Corrected Interface