Share via


CodeEvent.IsPropertyStyleEvent Property

Definition

Gets a value indicating whether the event has separate methods for adding/ removing events and throwing exceptions.

public:
 property bool IsPropertyStyleEvent { bool get(); };
public:
 property bool IsPropertyStyleEvent { bool get(); };
[System.Runtime.InteropServices.DispId(40)]
public bool IsPropertyStyleEvent { [System.Runtime.InteropServices.DispId(40)] get; }
[<System.Runtime.InteropServices.DispId(40)>]
[<get: System.Runtime.InteropServices.DispId(40)>]
member this.IsPropertyStyleEvent : bool
Public ReadOnly Property IsPropertyStyleEvent As Boolean

Property Value

true if the event has separate methods for adding/removing events and throwing exceptions; otherwise, false.


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

Attributes

Applies to