This documentation is archived and is not being maintained.

RemoteArgument Constructor (UInt16, Boolean)

Initializes a new instance of the RemoteArgument class that represents a UInt16 argument that can be passed by reference.

This API is not CLS-compliant. 

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

public RemoteArgument(
	ushort value,
	bool isByRef


Type: System.UInt16

A UInt16 argument that can be passed across process or application domain boundaries.

Type: System.Boolean

true if value is an argument that is passed by reference; otherwise, false.

This constructor sets the RemoteArgumentKind property to Intrinsic, the TypeCode property to TypeCode.UInt16, and the IsByRef property to the value of the isByRef parameter.

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