IOleInPlaceComponentUIManager.FOnUIComponentExitState Method

Queries the environment to determine if an in-place VSPackage object remains in a particular state.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)


Function FOnUIComponentExitState ( _
    dwCompRole As UInteger, _
    dwStateId As UInteger, _
    dwReserved As UInteger _
) As Integer
‘사용 방법
Dim instance As IOleInPlaceComponentUIManager
Dim dwCompRole As UInteger
Dim dwStateId As UInteger
Dim dwReserved As UInteger
Dim returnValue As Integer

returnValue = instance.FOnUIComponentExitState(dwCompRole, _
    dwStateId, dwReserved)
int FOnUIComponentExitState(
    uint dwCompRole,
    uint dwStateId,
    uint dwReserved
int FOnUIComponentExitState(
    [InAttribute] unsigned int dwCompRole, 
    [InAttribute] unsigned int dwStateId, 
    [InAttribute] unsigned int dwReserved
abstract FOnUIComponentExitState : 
        dwCompRole:uint32 * 
        dwStateId:uint32 * 
        dwReserved:uint32 -> int 
function FOnUIComponentExitState(
    dwCompRole : uint, 
    dwStateId : uint, 
    dwReserved : uint
) : int


  • dwCompRole
    Type: System.UInt32
    [in] Role of the in-place object in question. For valid dwCompRole values, see OLEROLE.
  • dwStateId
    Type: System.UInt32
    [in] Identifier representing the state in question. For a list of valid dwStateId values, see _OLECSTATE.
  • dwReserved
    Type: System.UInt32
    [in] Reserved for future use. Must be set to 0.

Return Value

Type: System.Int32
If the in-place object in question is still in the state represented by dwStateId, it returns true. If the in-place object is no longer in the state, it returns false.

.NET Framework Security

See Also


IOleInPlaceComponentUIManager Interface

IOleInPlaceComponentUIManager Members

Microsoft.VisualStudio.Shell.Interop Namespace