Queries the environment to determine if a particular state is still in effect.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function FUIComponentInState ( _
    dwStateId As UInteger _
) As Integer
int FUIComponentInState(
    uint dwStateId
)
int FUIComponentInState(
    [InAttribute] unsigned int dwStateId
)
abstract FUIComponentInState : 
        dwStateId:uint32 -> int
function FUIComponentInState(
    dwStateId : uint
) : int
Parameters
- dwStateId 
 Type: UInt32- [in] Identifier of the state in question. For a list of valid dwStateId values, see _OLECSTATE 
Return Value
Type: Int32
Remarks
The FUIComponentInState method is analogous to the FInState method. Whereas FInState is used to query the SOleComponentManager service, FUIComponentInState is used to query the SOleComponentUIManager.
.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.