VsFinderClass.GetState Method
Gets state.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetState ( _
<OutAttribute> ByRef pcFound As Integer, _
<OutAttribute> ByRef pResult As UInteger, _
<OutAttribute> ByRef pState As UInteger _
) As Integer
public virtual int GetState(
out int pcFound,
out uint pResult,
out uint pState
)
public:
virtual 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
override GetState :
pcFound:int byref *
pResult:uint32 byref *
pState:uint32 byref -> int
public function GetState(
pcFound : int,
pResult : uint,
pState : uint
) : int
Parameters
pcFound
Type: System.Int32%[out] Number of state values found.
pResult
Type: System.UInt32%[out] Enumeration value indicating result of the operation. Values are taken from the __VSFINDERROR enum.
pState
Type: System.UInt32%[out] Enumeration value indicating state of the operation. Values are taken from the __VSFINDSTATE enum
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsFinder.GetState(Int32%, UInt32%, UInt32%)
.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.