IFieldSymbol.CorrespondingTupleField 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 this field represents a tuple element, returns a corresponding default element field. Otherwise returns null.
public:
property Microsoft::CodeAnalysis::IFieldSymbol ^ CorrespondingTupleField { Microsoft::CodeAnalysis::IFieldSymbol ^ get(); };
public Microsoft.CodeAnalysis.IFieldSymbol CorrespondingTupleField { get; }
public Microsoft.CodeAnalysis.IFieldSymbol? CorrespondingTupleField { get; }
member this.CorrespondingTupleField : Microsoft.CodeAnalysis.IFieldSymbol
Public ReadOnly Property CorrespondingTupleField As IFieldSymbol
Property Value
Remarks
A tuple type will always have default elements such as Item1, Item2, Item3... This API allows matching a field that represents a named element, such as "Alice" to the corresponding default element field such as "Item1"
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.