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 で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET