Aracılığıyla paylaş


IFieldReferenceOperation.IsDeclaration Property

Definition

If the field reference is also where the field was declared.

public:
 property bool IsDeclaration { bool get(); };
public bool IsDeclaration { get; }
member this.IsDeclaration : bool
Public ReadOnly Property IsDeclaration As Boolean

Property Value

Remarks

This is only ever true in CSharp scripts, where a top-level statement creates a new variable in a reference, such as an out variable declaration or a deconstruction declaration.

Applies to