Share via


ContractDescription.Name Proprietà

Definizione

Ottiene o imposta il nome del contratto.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Valore della proprietà

Il nome della descrizione del contratto.

Esempio

string name = cd.Name;
Console.WriteLine("\tName: {0}", name);
Dim name As String = cd.Name
Console.WriteLine(Constants.vbTab & "Name: {0}", name)

Si applica a