Microsoft.VisualStudio.Shell.Mocks.VsTextBufferMock.InsertNamedExpansion C# (CSharp) Метод

InsertNamedExpansion() публичный Метод

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
Результат 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;
        }