IFieldReferenceOperation.IsDeclaration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.