CodeEvent.IsShared 属性

定义

获取或设置事件的共享(静态)状态。

public:
 property bool IsShared { bool get(); void set(bool value); };
public:
 property bool IsShared { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(44)]
public bool IsShared { [System.Runtime.InteropServices.DispId(44)] get; [System.Runtime.InteropServices.DispId(44)] set; }
[<System.Runtime.InteropServices.DispId(44)>]
[<get: System.Runtime.InteropServices.DispId(44)>]
[<set: System.Runtime.InteropServices.DispId(44)>]
member this.IsShared : bool with get, set
Public Property IsShared As Boolean

属性值

Boolean

true 如果事件是共享的,则为; 否则为 false

属性

注解

备注

在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。

适用于