Share via


VsFinderClass.Init Method

Sets the find string.

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

Syntax

'Declaration
Public Overridable Function Init ( _
    grfOptions As UInteger, _
    pszFindPattern As String, _
    fReinit As Integer, _
    <OutAttribute> ByRef pResult As UInteger _
) As Integer
public virtual int Init(
    uint grfOptions,
    string pszFindPattern,
    int fReinit,
    out uint pResult
)
public:
virtual int Init(
    [InAttribute] unsigned int grfOptions, 
    [InAttribute] String^ pszFindPattern, 
    [InAttribute] int fReinit, 
    [OutAttribute] unsigned int% pResult
)
abstract Init : 
        grfOptions:uint32 * 
        pszFindPattern:string * 
        fReinit:int * 
        pResult:uint32 byref -> int  
override Init : 
        grfOptions:uint32 * 
        pszFindPattern:string * 
        fReinit:int * 
        pResult:uint32 byref -> int
public function Init(
    grfOptions : uint, 
    pszFindPattern : String, 
    fReinit : int, 
    pResult : uint
) : int

Parameters

  • pResult
    Type: System.UInt32%

    [out] Enumeration value indicating result of the operation. Values are taken from the __VSFINDERROR enum.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsFinder.Init(UInt32, String, Int32, UInt32%)

.NET Framework Security

See Also

Reference

VsFinderClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace