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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.