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
- dwStateId
Type: System.UInt32
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
- 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.
See Also
Reference
IOleInPlaceComponentUIManager Interface