共用方式為


DesiredStateNotifications Enumeration

Passed to a call to FRegisterComponent to indicate what kind of state change notifications the component is interested in receiving.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration DesiredStateNotifications
'用途
Dim instance As DesiredStateNotifications
[FlagsAttribute]
public enum DesiredStateNotifications
[FlagsAttribute]
public enum class DesiredStateNotifications
[<FlagsAttribute>]
type DesiredStateNotifications
public enum DesiredStateNotifications

Members

Member name Description
None Not interested in any state change notifications.
Modal Needs modal state change notification (must be registered by components managing a top level window).
RedrawOff Needs notification of when redrawing is turned off.
WarningsOff Needs notification when warnings are turned off.
Recording Needs notification when recording is active.

See Also

Reference

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace