Microsoft.VisualStudio.Shell.Mocks.VsTextBufferMock.InsertNamedExpansion C# (CSharp) Method

InsertNamedExpansion() public method

public InsertNamedExpansion ( string bstrTitle, string bstrPath, TextSpan tsInsertPos, IVsExpansionClient pExpansionClient, System.Guid guidLang, int fShowDisambiguationUI, IVsExpansionSession &pSession ) : int
bstrTitle string
bstrPath string
tsInsertPos TextSpan
pExpansionClient IVsExpansionClient
guidLang System.Guid
fShowDisambiguationUI int
pSession IVsExpansionSession
return int
        public int InsertNamedExpansion(string bstrTitle, string bstrPath, TextSpan tsInsertPos, IVsExpansionClient pExpansionClient, Guid guidLang, int fShowDisambiguationUI, out IVsExpansionSession pSession) {
            TextBuffer.Insert(0, bstrTitle);
            pSession = new VsExpansionSessionMock();
            return VSConstants.S_OK;
        }