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.

.NET Framework
Available since 3.5
Return to top