CodeProperty2.IsDefault Property

Definition

Sets or gets whether this is the default property.

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

Property Value

true if this is the default property of the class or interface, otherwise 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