RemoteArgument RemoteArgument RemoteArgument RemoteArgument Struct

定義

表示可跨處理序或應用程式定義域界限傳遞之型別的執行個體。Represents an instance of a type that can be passed across process and application domain boundaries.

public value class RemoteArgument
[System.Serializable]
public struct RemoteArgument
type RemoteArgument = struct
Public Structure RemoteArgument
繼承
RemoteArgumentRemoteArgumentRemoteArgumentRemoteArgument
屬性

備註

RemoteArgument使用結構來傳遞在進程和應用程式域界限之間的執行時間之前, 不會決定的類型引數。Use the RemoteArgument structure to pass arguments of types that are not determined until run time across process and application domain boundaries. 的用途RemoteArgument類似VARIANT于 COM 中的類型。The purpose of RemoteArgument is similar to that of the VARIANT type in COM.

您可以使用RemoteArgument , 將下列類型和值當做遠端引數傳遞:You can use RemoteArgument to pass the following types and values as remote arguments:

內部資料類型是基本資料類型 (也就是, Type.IsPrimitive類型的屬性是true) 或StringDecimalDateTimeDBNullAn 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提供支援的每個類型的程式。RemoteArgument provides constructors for each of the types that it supports. 您也可以使用CreateRemoteArgument方法來建立RemoteArgument物件。You can also use the CreateRemoteArgument methods to create RemoteArgument objects. 方法會自動為您的RemoteArgument引數類型呼叫適當的函式。 CreateRemoteArgumentThe CreateRemoteArgument methods automatically call the appropriate RemoteArgument constructor for your argument type.

如果您RemoteArgument使用預設的無參數函式建立, RemoteArgumentKind則會將屬性TypeCode設定為RemoteArgumentKind.Missing值, 並將屬性設定為值TypeCode.EmptyIf 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.

建構函式

RemoteArgument(IContract) RemoteArgument(IContract) RemoteArgument(IContract) RemoteArgument(IContract)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 IContract 引數。Initializes a new instance of the RemoteArgument class that represents an IContract argument.

RemoteArgument(Boolean, Boolean) RemoteArgument(Boolean, Boolean) RemoteArgument(Boolean, Boolean) RemoteArgument(Boolean, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Boolean 引數。Initializes a new instance of the RemoteArgument class that represents a Boolean argument that can be passed by reference.

RemoteArgument(Byte, Boolean) RemoteArgument(Byte, Boolean) RemoteArgument(Byte, Boolean) RemoteArgument(Byte, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Byte 引數。Initializes a new instance of the RemoteArgument class that represents a Byte argument that can be passed by reference.

RemoteArgument(Char, Boolean) RemoteArgument(Char, Boolean) RemoteArgument(Char, Boolean) RemoteArgument(Char, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Char 引數。Initializes a new instance of the RemoteArgument class that represents a Char argument that can be passed by reference.

RemoteArgument(DateTime, Boolean) RemoteArgument(DateTime, Boolean) RemoteArgument(DateTime, Boolean) RemoteArgument(DateTime, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 DateTime 引數。Initializes a new instance of the RemoteArgument class that represents a DateTime argument that can be passed by reference.

RemoteArgument(DBNull, Boolean) RemoteArgument(DBNull, Boolean) RemoteArgument(DBNull, Boolean) RemoteArgument(DBNull, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 DBNull 引數。Initializes a new instance of the RemoteArgument class that represents a DBNull argument that can be passed by reference.

RemoteArgument(Decimal, Boolean) RemoteArgument(Decimal, Boolean) RemoteArgument(Decimal, Boolean) RemoteArgument(Decimal, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Decimal 引數。Initializes a new instance of the RemoteArgument class that represents a Decimal argument that can be passed by reference.

RemoteArgument(Double, Boolean) RemoteArgument(Double, Boolean) RemoteArgument(Double, Boolean) RemoteArgument(Double, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Double 引數。Initializes a new instance of the RemoteArgument class that represents a Double argument that can be passed by reference.

RemoteArgument(Array, Boolean) RemoteArgument(Array, Boolean) RemoteArgument(Array, Boolean) RemoteArgument(Array, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Array 引數。Initializes a new instance of the RemoteArgument class that represents an Array argument that can be passed by reference.

RemoteArgument(Int16, Boolean) RemoteArgument(Int16, Boolean) RemoteArgument(Int16, Boolean) RemoteArgument(Int16, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int16 引數。Initializes a new instance of the RemoteArgument class that represents an Int16 argument that can be passed by reference.

RemoteArgument(Int64, Boolean) RemoteArgument(Int64, Boolean) RemoteArgument(Int64, Boolean) RemoteArgument(Int64, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int64 引數。Initializes a new instance of the RemoteArgument class that represents an Int64 argument that can be passed by reference.

RemoteArgument(Single, Boolean) RemoteArgument(Single, Boolean) RemoteArgument(Single, Boolean) RemoteArgument(Single, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Single 引數。Initializes a new instance of the RemoteArgument class that represents a Single argument that can be passed by reference.

RemoteArgument(String, Boolean) RemoteArgument(String, Boolean) RemoteArgument(String, Boolean) RemoteArgument(String, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 String 引數。Initializes a new instance of the RemoteArgument class that represents a String argument that can be passed by reference.

RemoteArgument(UInt16, Boolean) RemoteArgument(UInt16, Boolean) RemoteArgument(UInt16, Boolean) RemoteArgument(UInt16, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt16 引數。Initializes a new instance of the RemoteArgument class that represents a UInt16 argument that can be passed by reference.

RemoteArgument(UInt32, Boolean) RemoteArgument(UInt32, Boolean) RemoteArgument(UInt32, Boolean) RemoteArgument(UInt32, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt32 引數。Initializes a new instance of the RemoteArgument class that represents a UInt32 argument that can be passed by reference.

RemoteArgument(UInt64, Boolean) RemoteArgument(UInt64, Boolean) RemoteArgument(UInt64, Boolean) RemoteArgument(UInt64, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt64 引數。Initializes a new instance of the RemoteArgument class that represents a UInt64 argument that can be passed by reference.

RemoteArgument(RemoteArgumentKind, TypeCode, Boolean) RemoteArgument(RemoteArgumentKind, TypeCode, Boolean) RemoteArgument(RemoteArgumentKind, TypeCode, Boolean) RemoteArgument(RemoteArgumentKind, TypeCode, Boolean)

針對可透過傳址方式傳遞的引數,使用指定的 RemoteArgumentRemoteArgumentKind 來初始化 TypeCode 類別的新執行個體。Initializes a new instance of the RemoteArgument class using the specified RemoteArgumentKind and TypeCode for an argument that can be passed by reference.

RemoteArgument(Int32, Boolean) RemoteArgument(Int32, Boolean) RemoteArgument(Int32, Boolean) RemoteArgument(Int32, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int32 引數。Initializes a new instance of the RemoteArgument class that represents an Int32 argument that can be passed by reference.

RemoteArgument(RemoteArgumentKind, TypeCode) RemoteArgument(RemoteArgumentKind, TypeCode) RemoteArgument(RemoteArgumentKind, TypeCode) RemoteArgument(RemoteArgumentKind, TypeCode)

針對不是以傳址方式傳遞的引數,使用指定的 RemoteArgumentRemoteArgumentKind 來初始化 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) RemoteArgument(SByte, Boolean) RemoteArgument(SByte, Boolean) RemoteArgument(SByte, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 SByte 引數。Initializes a new instance of the RemoteArgument class that represents an SByte argument that can be passed by reference.

RemoteArgument(UInt64) RemoteArgument(UInt64) RemoteArgument(UInt64) RemoteArgument(UInt64)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt64 引數。Initializes a new instance of the RemoteArgument class that represents a UInt64 argument.

RemoteArgument(Array) RemoteArgument(Array) RemoteArgument(Array) RemoteArgument(Array)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Array 引數。Initializes a new instance of the RemoteArgument class that represents an Array argument.

RemoteArgument(Boolean) RemoteArgument(Boolean) RemoteArgument(Boolean) RemoteArgument(Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Boolean 引數。Initializes a new instance of the RemoteArgument class that represents a Boolean argument.

RemoteArgument(Byte) RemoteArgument(Byte) RemoteArgument(Byte) RemoteArgument(Byte)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Byte 引數。Initializes a new instance of the RemoteArgument class that represents a Byte argument.

RemoteArgument(Char) RemoteArgument(Char) RemoteArgument(Char) RemoteArgument(Char)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Char 引數。Initializes a new instance of the RemoteArgument class that represents a Char argument.

RemoteArgument(DateTime) RemoteArgument(DateTime) RemoteArgument(DateTime) RemoteArgument(DateTime)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 DateTime 引數。Initializes a new instance of the RemoteArgument class that represents a DateTime argument.

RemoteArgument(DBNull) RemoteArgument(DBNull) RemoteArgument(DBNull) RemoteArgument(DBNull)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 DBNull 引數。Initializes a new instance of the RemoteArgument class that represents a DBNull argument.

RemoteArgument(IContract, Boolean) RemoteArgument(IContract, Boolean) RemoteArgument(IContract, Boolean) RemoteArgument(IContract, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 IContract 引數。Initializes a new instance of the RemoteArgument class that represents an IContract argument that can be passed by reference.

RemoteArgument(Double) RemoteArgument(Double) RemoteArgument(Double) RemoteArgument(Double)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Double 引數。Initializes a new instance of the RemoteArgument class that represents a Double argument.

RemoteArgument(Decimal) RemoteArgument(Decimal) RemoteArgument(Decimal) RemoteArgument(Decimal)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Decimal 引數。Initializes a new instance of the RemoteArgument class that represents a Decimal argument.

RemoteArgument(Int32) RemoteArgument(Int32) RemoteArgument(Int32) RemoteArgument(Int32)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int32 引數。Initializes a new instance of the RemoteArgument class that represents an Int32 argument.

RemoteArgument(Int64) RemoteArgument(Int64) RemoteArgument(Int64) RemoteArgument(Int64)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int64 引數。Initializes a new instance of the RemoteArgument class that represents an Int64 argument.

RemoteArgument(SByte) RemoteArgument(SByte) RemoteArgument(SByte) RemoteArgument(SByte)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 SByte 引數。Initializes a new instance of the RemoteArgument class that represents an SByte argument.

RemoteArgument(Single) RemoteArgument(Single) RemoteArgument(Single) RemoteArgument(Single)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Single 引數。Initializes a new instance of the RemoteArgument class that represents a Single argument.

RemoteArgument(String) RemoteArgument(String) RemoteArgument(String) RemoteArgument(String)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 String 引數。Initializes a new instance of the RemoteArgument class that represents a String argument.

RemoteArgument(UInt16) RemoteArgument(UInt16) RemoteArgument(UInt16) RemoteArgument(UInt16)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt16 引數。Initializes a new instance of the RemoteArgument class that represents a UInt16 argument.

RemoteArgument(UInt32) RemoteArgument(UInt32) RemoteArgument(UInt32) RemoteArgument(UInt32)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt32 引數。Initializes a new instance of the RemoteArgument class that represents a UInt32 argument.

RemoteArgument(Int16) RemoteArgument(Int16) RemoteArgument(Int16) RemoteArgument(Int16)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int16 引數。Initializes a new instance of the RemoteArgument class that represents an Int16 argument.

屬性

ArrayValue ArrayValue ArrayValue ArrayValue

取得或設定 Array 所表示的 RemoteArgumentGets or sets the Array that the RemoteArgument represents.

BooleanValue BooleanValue BooleanValue BooleanValue

取得或設定 Boolean 所表示的 RemoteArgumentGets or sets the Boolean that the RemoteArgument represents.

ByteValue ByteValue ByteValue ByteValue

取得或設定 Byte 所表示的 RemoteArgumentGets or sets the Byte that the RemoteArgument represents.

CharValue CharValue CharValue CharValue

取得或設定 Char 所表示的 RemoteArgumentGets or sets the Char that the RemoteArgument represents.

ContractValue ContractValue ContractValue ContractValue

取得或設定 IContract 所表示的 RemoteArgumentGets or sets the IContract that the RemoteArgument represents.

DateTimeValue DateTimeValue DateTimeValue DateTimeValue

取得或設定 DateTime 所表示的 RemoteArgumentGets or sets the DateTime that the RemoteArgument represents.

DBNullValue DBNullValue DBNullValue DBNullValue

取得或設定 DBNull 所表示的 RemoteArgumentGets or sets the DBNull that the RemoteArgument represents.

DecimalValue DecimalValue DecimalValue DecimalValue

取得或設定 Decimal 所表示的 RemoteArgumentGets or sets the Decimal that the RemoteArgument represents.

DoubleValue DoubleValue DoubleValue DoubleValue

取得或設定 Double 所表示的 RemoteArgumentGets or sets the Double that the RemoteArgument represents.

Int16Value Int16Value Int16Value Int16Value

取得或設定 Int16 所表示的 RemoteArgumentGets or sets the Int16 that the RemoteArgument represents.

Int32Value Int32Value Int32Value Int32Value

取得或設定 Int32 所表示的 RemoteArgumentGets or sets the Int32 that the RemoteArgument represents.

Int64Value Int64Value Int64Value Int64Value

取得或設定 Int64 所表示的 RemoteArgumentGets or sets the Int64 that the RemoteArgument represents.

IsByRef IsByRef IsByRef IsByRef

取得或設定值,這個值表示 RemoteArgument 是否代表以傳址方式傳遞的引數。Gets or sets a value that indicates whether the RemoteArgument represents an argument that is passed by reference.

MissingValue MissingValue MissingValue MissingValue

取得 Missing 值。Gets the Missing value.

RemoteArgumentKind RemoteArgumentKind RemoteArgumentKind RemoteArgumentKind

取得 RemoteArgumentKind,表示 RemoteArgument 所代表的引數類型。Gets a RemoteArgumentKind that indicates the kind of argument that the RemoteArgument represents.

SByteValue SByteValue SByteValue SByteValue

取得或設定 SByte 所表示的 RemoteArgumentGets or sets the SByte that the RemoteArgument represents.

SingleValue SingleValue SingleValue SingleValue

取得或設定 Single 所表示的 RemoteArgumentGets or sets the Single that the RemoteArgument represents.

StringValue StringValue StringValue StringValue

取得或設定 String 所表示的 RemoteArgumentGets or sets the String that the RemoteArgument represents.

TypeCode TypeCode TypeCode TypeCode

取得 TypeCode,表示 RemoteArgument 所代表之引數的基底型別。Gets a TypeCode that indicates the base type of the argument that the RemoteArgument represents.

UInt16Value UInt16Value UInt16Value UInt16Value

取得或設定 UInt16 所表示的 RemoteArgumentGets or sets the UInt16 that the RemoteArgument represents.

UInt32Value UInt32Value UInt32Value UInt32Value

取得或設定 UInt32 所表示的 RemoteArgumentGets or sets the UInt32 that the RemoteArgument represents.

UInt64Value UInt64Value UInt64Value UInt64Value

取得或設定 UInt64 所表示的 RemoteArgumentGets or sets the UInt64 that the RemoteArgument represents.

方法

CreateRemoteArgument(Object) CreateRemoteArgument(Object) CreateRemoteArgument(Object) CreateRemoteArgument(Object)

針對不是以傳址方式傳遞的引數,建立 RemoteArgumentCreates a RemoteArgument for an argument that is not passed by reference.

CreateRemoteArgument(Object, Boolean) CreateRemoteArgument(Object, Boolean) CreateRemoteArgument(Object, Boolean) CreateRemoteArgument(Object, Boolean)

針對可透過傳址方式傳遞的引數,建立 RemoteArgumentCreates a RemoteArgument for an argument that can be passed by reference.

CreateRemoteArgument(Object, Boolean, TypeCode) CreateRemoteArgument(Object, Boolean, TypeCode) CreateRemoteArgument(Object, Boolean, TypeCode) CreateRemoteArgument(Object, Boolean, TypeCode)

針對具有指定型別程式碼、可透過傳址方式傳遞的引數,建立 RemoteArgumentCreates a RemoteArgument for an argument that has the specified type code and that can be passed by reference.

適用於