RemoteArgument Structure
Represents an instance of a type that can be passed across process and application domain boundaries.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
The RemoteArgument type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | RemoteArgument(Array) | Initializes a new instance of the RemoteArgument class that represents an Array argument. |
![]() | RemoteArgument(Boolean) | Initializes a new instance of the RemoteArgument class that represents a Boolean argument. |
![]() | RemoteArgument(Byte) | Initializes a new instance of the RemoteArgument class that represents a Byte argument. |
![]() | RemoteArgument(Char) | Initializes a new instance of the RemoteArgument class that represents a Char argument. |
![]() | RemoteArgument(DateTime) | Initializes a new instance of the RemoteArgument class that represents a DateTime argument. |
![]() | RemoteArgument(DBNull) | Initializes a new instance of the RemoteArgument class that represents a DBNull argument. |
![]() | RemoteArgument(Decimal) | Initializes a new instance of the RemoteArgument class that represents a Decimal argument. |
![]() | RemoteArgument(Double) | Initializes a new instance of the RemoteArgument class that represents a Double argument. |
![]() | RemoteArgument(IContract) | Initializes a new instance of the RemoteArgument class that represents an IContract argument. |
![]() | RemoteArgument(Int16) | Initializes a new instance of the RemoteArgument class that represents an Int16 argument. |
![]() | RemoteArgument(Int32) | Initializes a new instance of the RemoteArgument class that represents an Int32 argument. |
![]() | RemoteArgument(Int64) | Initializes a new instance of the RemoteArgument class that represents an Int64 argument. |
![]() | RemoteArgument(SByte) | Initializes a new instance of the RemoteArgument class that represents an SByte argument. |
![]() | RemoteArgument(Single) | Initializes a new instance of the RemoteArgument class that represents a Single argument. |
![]() | RemoteArgument(String) | Initializes a new instance of the RemoteArgument class that represents a String argument. |
![]() | RemoteArgument(UInt16) | Initializes a new instance of the RemoteArgument class that represents a UInt16 argument. |
![]() | RemoteArgument(UInt32) | Initializes a new instance of the RemoteArgument class that represents a UInt32 argument. |
![]() | RemoteArgument(UInt64) | Initializes a new instance of the RemoteArgument class that represents a UInt64 argument. |
![]() | RemoteArgument(Array, Boolean) | Initializes a new instance of the RemoteArgument class that represents an Array argument that can be passed by reference. |
![]() | RemoteArgument(Boolean, Boolean) | Initializes a new instance of the RemoteArgument class that represents a Boolean argument that can be passed by reference. |
![]() | RemoteArgument(Byte, Boolean) | Initializes a new instance of the RemoteArgument class that represents a Byte argument that can be passed by reference. |
![]() | RemoteArgument(Char, Boolean) | Initializes a new instance of the RemoteArgument class that represents a Char argument that can be passed by reference. |
![]() | RemoteArgument(DateTime, Boolean) | Initializes a new instance of the RemoteArgument class that represents a DateTime argument that can be passed by reference. |
![]() | RemoteArgument(DBNull, Boolean) | Initializes a new instance of the RemoteArgument class that represents a DBNull argument that can be passed by reference. |
![]() | RemoteArgument(Decimal, Boolean) | Initializes a new instance of the RemoteArgument class that represents a Decimal argument that can be passed by reference. |
![]() | RemoteArgument(Double, Boolean) | Initializes a new instance of the RemoteArgument class that represents a Double argument that can be passed by reference. |
![]() | RemoteArgument(IContract, Boolean) | Initializes a new instance of the RemoteArgument class that represents an IContract argument that can be passed by reference. |
![]() | RemoteArgument(Int16, Boolean) | Initializes a new instance of the RemoteArgument class that represents an Int16 argument that can be passed by reference. |
![]() | RemoteArgument(Int32, Boolean) | Initializes a new instance of the RemoteArgument class that represents an Int32 argument that can be passed by reference. |
![]() | RemoteArgument(Int64, Boolean) | Initializes a new instance of the RemoteArgument class that represents an Int64 argument that can be passed by reference. |
![]() | RemoteArgument(RemoteArgumentKind, TypeCode) | Initializes a new instance of the RemoteArgument class using the specified RemoteArgumentKind and TypeCode for an argument that is not passed by reference. |
![]() | RemoteArgument(SByte, Boolean) | Initializes a new instance of the RemoteArgument class that represents an SByte argument that can be passed by reference. |
![]() | RemoteArgument(Single, Boolean) | Initializes a new instance of the RemoteArgument class that represents a Single argument that can be passed by reference. |
![]() | RemoteArgument(String, Boolean) | Initializes a new instance of the RemoteArgument class that represents a String argument that can be passed by reference. |
![]() | RemoteArgument(UInt16, Boolean) | Initializes a new instance of the RemoteArgument class that represents a UInt16 argument that can be passed by reference. |
![]() | RemoteArgument(UInt32, Boolean) | Initializes a new instance of the RemoteArgument class that represents a UInt32 argument that can be passed by reference. |
![]() | RemoteArgument(UInt64, Boolean) | Initializes a new instance of the RemoteArgument class that represents a UInt64 argument that can be passed by reference. |
![]() | RemoteArgument(RemoteArgumentKind, TypeCode, Boolean) | Initializes a new instance of the RemoteArgument class using the specified RemoteArgumentKind and TypeCode for an argument that can be passed by reference. |
| Name | Description | |
|---|---|---|
![]() | ArrayValue | Gets or sets the Array that the RemoteArgument represents. |
![]() | BooleanValue | Gets or sets the Boolean that the RemoteArgument represents. |
![]() | ByteValue | Gets or sets the Byte that the RemoteArgument represents. |
![]() | CharValue | Gets or sets the Char that the RemoteArgument represents. |
![]() | ContractValue | Gets or sets the IContract that the RemoteArgument represents. |
![]() | DateTimeValue | Gets or sets the DateTime that the RemoteArgument represents. |
![]() | DBNullValue | Gets or sets the DBNull that the RemoteArgument represents. |
![]() | DecimalValue | Gets or sets the Decimal that the RemoteArgument represents. |
![]() | DoubleValue | Gets or sets the Double that the RemoteArgument represents. |
![]() | Int16Value | Gets or sets the Int16 that the RemoteArgument represents. |
![]() | Int32Value | Gets or sets the Int32 that the RemoteArgument represents. |
![]() | Int64Value | Gets or sets the Int64 that the RemoteArgument represents. |
![]() | IsByRef | Gets or sets a value that indicates whether the RemoteArgument represents an argument that is passed by reference. |
![]() | MissingValue | Gets the Missing value. |
![]() | RemoteArgumentKind | Gets a RemoteArgumentKind that indicates the kind of argument that the RemoteArgument represents. |
![]() | SByteValue | Gets or sets the SByte that the RemoteArgument represents. |
![]() | SingleValue | Gets or sets the Single that the RemoteArgument represents. |
![]() | StringValue | Gets or sets the String that the RemoteArgument represents. |
![]() | TypeCode | Gets a TypeCode that indicates the base type of the argument that the RemoteArgument represents. |
![]() | UInt16Value | Gets or sets the UInt16 that the RemoteArgument represents. |
![]() | UInt32Value | Gets or sets the UInt32 that the RemoteArgument represents. |
![]() | UInt64Value | Gets or sets the UInt64 that the RemoteArgument represents. |
| Name | Description | |
|---|---|---|
![]() ![]() | CreateRemoteArgument(Object) | Creates a RemoteArgument for an argument that is not passed by reference. |
![]() ![]() | CreateRemoteArgument(Object, Boolean) | Creates a RemoteArgument for an argument that can be passed by reference. |
![]() ![]() | CreateRemoteArgument(Object, Boolean, TypeCode) | Creates a RemoteArgument for an argument that has the specified type code and that can be passed by reference. |
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Use the RemoteArgument structure to pass arguments of types that are not determined until run time across process and application domain boundaries. The purpose of RemoteArgument is similar to that of the VARIANT type in COM.
You can use RemoteArgument to pass the following types and values as remote arguments:
Intrinsic data types.
Arrays that contain elements of intrinsic data types.
An intrinsic data type is a primitive data type (that is, the Type::IsPrimitive property of the type is true) or a String, Decimal, DateTime, or DBNull.
RemoteArgument provides constructors for each of the types that it supports. You can also use the CreateRemoteArgument methods to create RemoteArgument objects. The CreateRemoteArgument methods automatically call the appropriate RemoteArgument constructor for your argument type.
If you create a RemoteArgument using the default parameterless constructor, the RemoteArgumentKind property is set to the value RemoteArgumentKind::Missing and the TypeCode property is set to the value TypeCode::Empty.
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.



