Freigeben über


IVsTextStorage.Storage_Find-Methode

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

Syntax

'Declaration
Function Storage_Find ( _
    pszText As String, _
    iStartLine As Integer, _
    iStartIndex As Integer, _
    iEndLine As Integer, _
    iEndIndex As Integer, _
    iFlags As Integer, _
    <OutAttribute> ByRef piLine As Integer, _
    <OutAttribute> ByRef piCol As Integer _
) As Integer
int Storage_Find(
    string pszText,
    int iStartLine,
    int iStartIndex,
    int iEndLine,
    int iEndIndex,
    int iFlags,
    out int piLine,
    out int piCol
)
int Storage_Find(
    [InAttribute] String^ pszText, 
    [InAttribute] int iStartLine, 
    [InAttribute] int iStartIndex, 
    [InAttribute] int iEndLine, 
    [InAttribute] int iEndIndex, 
    [InAttribute] int iFlags, 
    [OutAttribute] int% piLine, 
    [OutAttribute] int% piCol
)
abstract Storage_Find : 
        pszText:string * 
        iStartLine:int * 
        iStartIndex:int * 
        iEndLine:int * 
        iEndIndex:int * 
        iFlags:int * 
        piLine:int byref * 
        piCol:int byref -> int
function Storage_Find(
    pszText : String, 
    iStartLine : int, 
    iStartIndex : int, 
    iEndLine : int, 
    iEndIndex : int, 
    iFlags : int, 
    piLine : int, 
    piCol : int
) : int

Parameter

  • pszText
    Typ: String

    [in] Sie Simsen.

  • iStartLine
    Typ: Int32

    [in] Anfangszeile.

  • iStartIndex
    Typ: Int32

    [in] Der Zeichenindex in der Zeile sein muss (<=-Länge der Zeile).

  • iEndLine
    Typ: Int32

    [in] Endzeile.

  • iEndIndex
    Typ: Int32

    [in] Ende zeichenindex in der Zeile sein muss (<=-Länge der Zeile).

  • iFlags
    Typ: Int32

    [in]

  • piLine
    Typ: Int32%

    [out] Zeile, die den Anfang des lokalisierten Text enthält.

  • piCol
    Typ: Int32%

    [out] Spalte des Anfangs des lokalisierten Text.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

HRESULT IVsTextStorage::Storage_Find(
   [in] const WCHAR * pszText,
   [in] long iStartLine,
   [in] CharIndex iStartIndex,
   [in] long iEndLine,
   [in] CharIndex iEndIndex,
   [in] long iFlags,
   [out] long * piLine,
   [out] CharIndex * piCol
);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextStorage Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace