IVsExpansion.InsertSpecificExpansion Method

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

Syntax

声明
Function InsertSpecificExpansion ( _
    pSnippet As IXMLDOMNode, _
    tsInsertPos As TextSpan, _
    pExpansionClient As IVsExpansionClient, _
    guidLang As Guid, _
    pszRelativePath As String, _
    <OutAttribute> ByRef pSession As IVsExpansionSession _
) As Integer
用法
Dim instance As IVsExpansion
Dim pSnippet As IXMLDOMNode
Dim tsInsertPos As TextSpan
Dim pExpansionClient As IVsExpansionClient
Dim guidLang As Guid
Dim pszRelativePath As String
Dim pSession As IVsExpansionSession
Dim returnValue As Integer

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

Parameters

  • pSnippet
    Type: IXMLDOMNode

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsExpansion Interface

IVsExpansion Members

Microsoft.VisualStudio.TextManager.Interop Namespace