This documentation is archived and is not being maintained.

RemoteArgument::UInt16Value Property

Gets or sets the UInt16 that the RemoteArgument represents.

This API is not CLS-compliant. 

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

[CLSCompliantAttribute(false)]
public:
property unsigned short UInt16Value {
	unsigned short get ();
	void set (unsigned short value);
}

Property Value

Type: System::UInt16
The UInt16 that the RemoteArgument represents; 0 (zero) if the value of the RemoteArgument has not yet been specified.

ExceptionCondition
InvalidOperationException

The RemoteArgumentKind property is not set to the Intrinsic value.

-or-

The TypeCode property is not set to the TypeCode::UInt16 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: