IOleInPlaceComponentUIManager.FOnUIComponentExitState 方法
查询该环境以确定就地 VSPackage 对象是否处于特定状态保持。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)
语法
声明
Function FOnUIComponentExitState ( _
dwCompRole As UInteger, _
dwStateId As UInteger, _
dwReserved As UInteger _
) As Integer
int FOnUIComponentExitState(
uint dwCompRole,
uint dwStateId,
uint dwReserved
)
参数
- dwCompRole
类型:System.UInt32
[in] 相关就地的对象的作用。有关有效的 dwCompRole 值,请参见 OLEROLE。
- dwStateId
类型:System.UInt32
[in] 表示状态的标识符相关。有关有效的 dwStateId 值列表,请参见 _OLECSTATE。
- dwReserved
类型:System.UInt32
[in] 留作未来使用。必须设置为 0。
返回值
类型:System.Int32
如果相关就地的对象仍在 dwStateId所表示的状态,它将返回 true。如果就地对象不再处于状态,则返回 false。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。