Partilhar via


Método IVsTextStorage.Storage_GetCharsInSpan

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Function Storage_GetCharsInSpan ( _
    pSpanToMeasure As TextSpan(), _
    <OutAttribute> ByRef piChars As Integer _
) As Integer
int Storage_GetCharsInSpan(
    TextSpan[] pSpanToMeasure,
    out int piChars
)
int Storage_GetCharsInSpan(
    [InAttribute] array<TextSpan>^ pSpanToMeasure, 
    [OutAttribute] int% piChars
)
abstract Storage_GetCharsInSpan : 
        pSpanToMeasure:TextSpan[] * 
        piChars:int byref -> int
function Storage_GetCharsInSpan(
    pSpanToMeasure : TextSpan[], 
    piChars : int
) : int

Parâmetros

  • piChars
    Tipo: Int32%

    [out]

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextStorage::Storage_GetCharsInSpan(
   [in] TextSpan *pSpanToMeasure,
   [out] long *piChars
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextStorage Interface

Namespace Microsoft.VisualStudio.TextManager.Interop