IVsFinder.GetState Method
Gets state.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetState ( _
<OutAttribute> ByRef pcFound As Integer, _
<OutAttribute> ByRef pResult As UInteger, _
<OutAttribute> ByRef pState As UInteger _
) As Integer
'Usage
Dim instance As IVsFinder
Dim pcFound As Integer
Dim pResult As UInteger
Dim pState As UInteger
Dim returnValue As Integer
returnValue = instance.GetState(pcFound, _
pResult, pState)
int GetState(
out int pcFound,
out uint pResult,
out uint pState
)
int GetState(
[OutAttribute] int% pcFound,
[OutAttribute] unsigned int% pResult,
[OutAttribute] unsigned int% pState
)
abstract GetState :
pcFound:int byref *
pResult:uint32 byref *
pState:uint32 byref -> int
function GetState(
pcFound : int,
pResult : uint,
pState : uint
) : int
Parameters
- pcFound
Type: System.Int32%
[out]
- pResult
Type: System.UInt32%
[out]
- pState
Type: System.UInt32%
[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textfind.idl:
HRESULT IVsFinder::GetState(
[out] LONG * pcFound,
[out] VSFINDERROR * pResult
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.