Compartir a través de


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)

Syntax

'Declaration
Function FOnUIComponentExitState ( _
    dwCompRole As UInteger, _
    dwStateId As UInteger, _
    dwReserved As UInteger _
) As Integer
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

Parameters

  • dwCompRole
    Type: UInt32

    [in] Role of the in-place object in question. For valid dwCompRole values, see OLEROLE.

  • dwStateId
    Type: UInt32

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

  • dwReserved
    Type: UInt32

    [in] Reserved for future use. Must be set to 0.

Return Value

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

Reference

IOleInPlaceComponentUIManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace