Compartilhar via


IVsExpansionIntellisenseHost.GetTextLen Method

Returns the length 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 GetTextLen ( _
    <OutAttribute> ByRef iLen As Integer _
) As Integer
int GetTextLen(
    out int iLen
)
int GetTextLen(
    [OutAttribute] int% iLen
)
abstract GetTextLen : 
        iLen:int byref -> int
function GetTextLen(
    iLen : int
) : int

Parameters

  • iLen
    Type: System.Int32%

    [out] The length of 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::GetTextLen([out] long *iLen);

.NET Framework Security

See Also

Reference

IVsExpansionIntellisenseHost Interface

Microsoft.VisualStudio.TextManager.Interop Namespace