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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.