IOleInPlaceComponentUIManager.FUIComponentInState Method

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
'Usage
Dim instance As IOleInPlaceComponentUIManager 
Dim dwStateId As UInteger 
Dim returnValue As Integer 

returnValue = instance.FUIComponentInState(dwStateId)
int FUIComponentInState(
    uint dwStateId
)
int FUIComponentInState(
    [InAttribute] unsigned int dwStateId
)
function FUIComponentInState(
    dwStateId : uint
) : int

Parameters

  • dwStateId
    Type: System.UInt32

    [in] Identifier of the state in question. For a list of valid dwStateId values, see _OLECSTATE

Return Value

Type: System.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

See Also

Reference

IOleInPlaceComponentUIManager Interface

IOleInPlaceComponentUIManager Members

Microsoft.VisualStudio.Shell.Interop Namespace