OperationInfo.ContractName 屬性

定義

取得或設定可定義此作業的合約之完整名稱。

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

屬性值

String

表示定義該作業的合約之完整名稱的字串。

範例

下列範例將示範如何存取 ContractName 屬性。

OperationInfo info = new OperationInfo();
info.ContractName = "Contract1";
Dim info As New OperationInfo()
info.ContractName = "Contract1"

適用於