次の方法で共有


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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsExpansion Interface

IVsExpansion Members

Microsoft.VisualStudio.TextManager.Interop Namespace