共用方式為


SymbolInfo.CandidateReason 屬性

定義

如果運算式未成功解析為符號,但有一或多個可能已考慮但已捨棄的符號,則此屬性會描述為何這些符號或符號未被視為適合。

public:
 property Microsoft::CodeAnalysis::CandidateReason CandidateReason { Microsoft::CodeAnalysis::CandidateReason get(); };
public Microsoft.CodeAnalysis.CandidateReason CandidateReason { get; }
member this.CandidateReason : Microsoft.CodeAnalysis.CandidateReason
Public ReadOnly Property CandidateReason As CandidateReason

屬性值

適用於