Partilhar via


Método IVsTextStorage.Storage_Replace

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

Sintaxe

'Declaração
Function Storage_Replace ( _
    pCI As ChangeInput(), _
    <OutAttribute> ptsOut As TextSpan() _
) As Integer
int Storage_Replace(
    ChangeInput[] pCI,
    TextSpan[] ptsOut
)
int Storage_Replace(
    [InAttribute] array<ChangeInput>^ pCI, 
    [OutAttribute] array<TextSpan>^ ptsOut
)
abstract Storage_Replace : 
        pCI:ChangeInput[] * 
        ptsOut:TextSpan[] byref -> int
function Storage_Replace(
    pCI : ChangeInput[], 
    ptsOut : TextSpan[]
) : int

Parâmetros

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_Replace(
   [in] ChangeInput *pCI,
   [out] TextSpan *ptsOut
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextStorage Interface

Namespace Microsoft.VisualStudio.TextManager.Interop