Språk

PropertyInformation.Source Egenskap

Definition

Hämtar källfilen som motsvarar ett konfigurationsattribut.

public:
 property System::String ^ Source { System::String ^ get(); };
public string Source { get; }
member this.Source : string
Public ReadOnly Property Source As String

Egenskapsvärde

Källfilen för PropertyInformation objektet.

Exempel

Följande kodexempel visar hur du använder egenskapen Source . Det här kodexemplet är en del av ett större exempel för PropertyInformation klassen.

// Display the Source property.
Console.WriteLine("Source: {0}", propertyItem.Source);
' Display the Source property.
Console.WriteLine("Source: {0}", propertyItem.Source)

Gäller för