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

协定说明的名称。

示例

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

适用于