共用方式為


ContractDescription.Name 屬性

定義

取得或設定合約的名稱。

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

屬性值

合約描述的名稱。

範例

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

適用於