Partager via


IFieldSymbol.AssociatedSymbol Property

Definition

If this field serves as a backing variable for an automatically generated property or a field-like event, returns that property/event. Otherwise returns null. Note, the set of possible associated symbols might be expanded in the future to reflect changes in the languages.

public:
 property Microsoft::CodeAnalysis::ISymbol ^ AssociatedSymbol { Microsoft::CodeAnalysis::ISymbol ^ get(); };
public Microsoft.CodeAnalysis.ISymbol AssociatedSymbol { get; }
public Microsoft.CodeAnalysis.ISymbol? AssociatedSymbol { get; }
member this.AssociatedSymbol : Microsoft.CodeAnalysis.ISymbol
Public ReadOnly Property AssociatedSymbol As ISymbol

Property Value

Applies to