IVsExpansion.InsertExpansion Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣言
Function InsertExpansion ( _
tsContext As TextSpan, _
tsInsertPos As TextSpan, _
pExpansionClient As IVsExpansionClient, _
guidLang As Guid, _
<OutAttribute> ByRef pSession As IVsExpansionSession _
) As Integer
'使用
Dim instance As IVsExpansion
Dim tsContext As TextSpan
Dim tsInsertPos As TextSpan
Dim pExpansionClient As IVsExpansionClient
Dim guidLang As Guid
Dim pSession As IVsExpansionSession
Dim returnValue As Integer
returnValue = instance.InsertExpansion(tsContext, _
tsInsertPos, pExpansionClient, guidLang, _
pSession)
int InsertExpansion(
TextSpan tsContext,
TextSpan tsInsertPos,
IVsExpansionClient pExpansionClient,
Guid guidLang,
out IVsExpansionSession pSession
)
int InsertExpansion(
[InAttribute] TextSpan tsContext,
[InAttribute] TextSpan tsInsertPos,
[InAttribute] IVsExpansionClient^ pExpansionClient,
[InAttribute] Guid guidLang,
[OutAttribute] IVsExpansionSession^% pSession
)
abstract InsertExpansion :
tsContext:TextSpan *
tsInsertPos:TextSpan *
pExpansionClient:IVsExpansionClient *
guidLang:Guid *
pSession:IVsExpansionSession byref -> int
function InsertExpansion(
tsContext : TextSpan,
tsInsertPos : TextSpan,
pExpansionClient : IVsExpansionClient,
guidLang : Guid,
pSession : IVsExpansionSession
) : int
Parameters
- tsContext
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- tsInsertPos
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- pExpansionClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsExpansionClient
- guidLang
Type: System.Guid
- pSession
Type: Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession%
Return Value
Type: System.Int32
.NET Framework Security
- 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.