다음을 통해 공유


IVsExpansion.InsertNamedExpansion Method

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

‘선언
Function InsertNamedExpansion ( _
    bstrTitle As String, _
    bstrPath As String, _
    tsInsertPos As TextSpan, _
    pExpansionClient As IVsExpansionClient, _
    guidLang As Guid, _
    fShowDisambiguationUI As Integer, _
    <OutAttribute> ByRef pSession As IVsExpansionSession _
) As Integer
‘사용 방법
Dim instance As IVsExpansion
Dim bstrTitle As String
Dim bstrPath As String
Dim tsInsertPos As TextSpan
Dim pExpansionClient As IVsExpansionClient
Dim guidLang As Guid
Dim fShowDisambiguationUI As Integer
Dim pSession As IVsExpansionSession
Dim returnValue As Integer

returnValue = instance.InsertNamedExpansion(bstrTitle, _
    bstrPath, tsInsertPos, pExpansionClient, _
    guidLang, fShowDisambiguationUI, _
    pSession)
int InsertNamedExpansion(
    string bstrTitle,
    string bstrPath,
    TextSpan tsInsertPos,
    IVsExpansionClient pExpansionClient,
    Guid guidLang,
    int fShowDisambiguationUI,
    out IVsExpansionSession pSession
)
int InsertNamedExpansion(
    [InAttribute] String^ bstrTitle, 
    [InAttribute] String^ bstrPath, 
    [InAttribute] TextSpan tsInsertPos, 
    [InAttribute] IVsExpansionClient^ pExpansionClient, 
    [InAttribute] Guid guidLang, 
    [InAttribute] int fShowDisambiguationUI, 
    [OutAttribute] IVsExpansionSession^% pSession
)
abstract InsertNamedExpansion : 
        bstrTitle:string * 
        bstrPath:string * 
        tsInsertPos:TextSpan * 
        pExpansionClient:IVsExpansionClient * 
        guidLang:Guid * 
        fShowDisambiguationUI:int * 
        pSession:IVsExpansionSession byref -> int 
function InsertNamedExpansion(
    bstrTitle : String, 
    bstrPath : String, 
    tsInsertPos : TextSpan, 
    pExpansionClient : IVsExpansionClient, 
    guidLang : Guid, 
    fShowDisambiguationUI : int, 
    pSession : IVsExpansionSession
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsExpansion Interface

IVsExpansion Members

Microsoft.VisualStudio.TextManager.Interop Namespace