IVsExpansionIntellisenseHost.GetText Method
Returns the text of the expansion text span.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function GetText ( _
<OutAttribute> ByRef bstrText As String _
) As Integer
int GetText(
out string bstrText
)
int GetText(
[OutAttribute] String^% bstrText
)
abstract GetText :
bstrText:string byref -> int
function GetText(
bstrText : String
) : int
Parameters
- bstrText
Type: System.String%
[out] String containing the expansion text.
Return Value
Type: System.Int32
If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.
Remarks
C++
From singlefileeditor.idl:
HRESULT IVsExpansionIntellisenseHost::GetText([out] BSTR *bstrText);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.