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
'Declaración
Function FOnUIComponentExitState ( _
dwCompRole As UInteger, _
dwStateId As UInteger, _
dwReserved As UInteger _
) As Integer
'Uso
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
Parameters
- 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
- 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