Partager via


CodeProperty2.IsShared Property

Definition

Gets or sets the shared status of the property.

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

Property Value

true if the status of the property is shared (static), 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