PropertyInformation.Name Proprietà

Definizione

Ottiene il nome dell'oggetto che corrisponde a un attributo di configurazione.

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

Valore della proprietà

Nome dell'oggetto PropertyInformation.

Esempio

Nell'esempio di codice seguente viene illustrato come usare la LineNumber proprietà. Questo esempio di codice fa parte di un esempio più grande fornito per la PropertyInformation classe.

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

Si applica a