共用方式為


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

'宣告
Function FUIComponentInState ( _
    dwStateId As UInteger _
) As Integer
'用途
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
)
abstract FUIComponentInState : 
        dwStateId:uint32 -> int 
function FUIComponentInState(
    dwStateId : uint
) : int

Parameters

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