共用方式為


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

'宣告
Function GetTextLen ( _
    <OutAttribute> ByRef iLen As Integer _
) As Integer
'用途
Dim instance As IVsExpansionIntellisenseHost
Dim iLen As Integer
Dim returnValue As Integer

returnValue = instance.GetTextLen(iLen)
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

IVsExpansionIntellisenseHost Members

Microsoft.VisualStudio.TextManager.Interop Namespace