This documentation is archived and is not being maintained.

RemoteArgument.Int16Value Property

Gets or sets the Int16 that the RemoteArgument represents.

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

public short Int16Value { get; set; }

Property Value

Type: System.Int16
The Int16 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.Int16 value.

-or-

This property is set while the IsByRef property is false.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: