共用方式為


CodeEvent.IsShared Property

Definition

Gets of sets the shared (static) status of the event.

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

Property Value

true if the event is shared, else false.

Attributes

Remarks

Note

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Applies to