This documentation is archived and is not being maintained.

RemoteArgument::ContractValue Property

Gets or sets the IContract that the RemoteArgument represents.

Namespace:  System.AddIn.Contract
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

public:
property IContract^ ContractValue {
	IContract^ get ();
	void set (IContract^ value);
}

Property Value

Type: System.AddIn.Contract::IContract
The IContract that the RemoteArgument represents; nullptr if the value of the RemoteArgument has not yet been specified.

ExceptionCondition
InvalidOperationException

The RemoteArgumentKind property is not set to the Contract value.

-or-

The TypeCode property is not set to the TypeCode::Object value.

-or-

This property is set while the IsByRef property is false.

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: