RemoteArgument.ContractValue 屬性

定義

取得或設定 IContract 所表示的 RemoteArgument

public:
 property System::AddIn::Contract::IContract ^ ContractValue { System::AddIn::Contract::IContract ^ get(); void set(System::AddIn::Contract::IContract ^ value); };
public System.AddIn.Contract.IContract ContractValue { get; set; }
member this.ContractValue : System.AddIn.Contract.IContract with get, set
Public Property ContractValue As IContract

屬性值

IContract 所表示的 RemoteArgument,如果尚未指定 RemoteArgument 的值,則為 null

例外狀況

RemoteArgumentKind 屬性不是設定為 Contract 值。

-或-

TypeCode 屬性不是設定為 Object 值。

-或-

IsByRef 屬性為 false 時,會設定這個屬性。

適用於