RemoteArgument 建構函式

定義

初始化 RemoteArgument 類別的新執行個體。

多載

RemoteArgument(IContract)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 IContract 引數。

RemoteArgument(Boolean, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Boolean 引數。

RemoteArgument(Byte, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Byte 引數。

RemoteArgument(Char, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Char 引數。

RemoteArgument(DateTime, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 DateTime 引數。

RemoteArgument(DBNull, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 DBNull 引數。

RemoteArgument(Decimal, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Decimal 引數。

RemoteArgument(Double, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Double 引數。

RemoteArgument(Array, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Array 引數。

RemoteArgument(Int16, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int16 引數。

RemoteArgument(Int64, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int64 引數。

RemoteArgument(Single, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Single 引數。

RemoteArgument(String, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 String 引數。

RemoteArgument(UInt16, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt16 引數。

RemoteArgument(UInt32, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt32 引數。

RemoteArgument(UInt64, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt64 引數。

RemoteArgument(RemoteArgumentKind, TypeCode, Boolean)

針對可透過傳址方式傳遞的引數,使用指定的 RemoteArgumentRemoteArgumentKind 來初始化 TypeCode 類別的新執行個體。

RemoteArgument(Int32, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int32 引數。

RemoteArgument(RemoteArgumentKind, TypeCode)

針對不是以傳址方式傳遞的引數,使用指定的 RemoteArgumentRemoteArgumentKind 來初始化 TypeCode 類別的新執行個體。

RemoteArgument(SByte, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 SByte 引數。

RemoteArgument(UInt64)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt64 引數。

RemoteArgument(Array)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Array 引數。

RemoteArgument(Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Boolean 引數。

RemoteArgument(Byte)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Byte 引數。

RemoteArgument(Char)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Char 引數。

RemoteArgument(DateTime)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 DateTime 引數。

RemoteArgument(DBNull)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 DBNull 引數。

RemoteArgument(IContract, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 IContract 引數。

RemoteArgument(Double)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Double 引數。

RemoteArgument(Decimal)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Decimal 引數。

RemoteArgument(Int32)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int32 引數。

RemoteArgument(Int64)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int64 引數。

RemoteArgument(SByte)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 SByte 引數。

RemoteArgument(Single)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Single 引數。

RemoteArgument(String)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 String 引數。

RemoteArgument(UInt16)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt16 引數。

RemoteArgument(UInt32)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt32 引數。

RemoteArgument(Int16)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int16 引數。

RemoteArgument(IContract)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 IContract 引數。

public:
 RemoteArgument(System::AddIn::Contract::IContract ^ value);
public RemoteArgument (System.AddIn.Contract.IContract value);
new System.AddIn.Contract.RemoteArgument : System.AddIn.Contract.IContract -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As IContract)

參數

value
IContract

可跨處理序或應用程式定義域界限傳遞的 IContract 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Contract、將 TypeCode 屬性 TypeCode.Object設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Boolean, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Boolean 引數。

public:
 RemoteArgument(bool value, bool isByRef);
public RemoteArgument (bool value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : bool * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Boolean, isByRef As Boolean)

參數

value
Boolean

可跨處理序或應用程式定義域界限傳遞的 Boolean 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Boolean設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Byte, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Byte 引數。

public:
 RemoteArgument(System::Byte value, bool isByRef);
public RemoteArgument (byte value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : byte * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Byte, isByRef As Boolean)

參數

value
Byte

可跨處理序或應用程式定義域界限傳遞的 Byte 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Byte設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Char, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Char 引數。

public:
 RemoteArgument(char value, bool isByRef);
public RemoteArgument (char value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : char * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Char, isByRef As Boolean)

參數

value
Char

可跨處理序或應用程式定義域界限傳遞的 Char 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Char設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(DateTime, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 DateTime 引數。

public:
 RemoteArgument(DateTime value, bool isByRef);
public RemoteArgument (DateTime value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : DateTime * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As DateTime, isByRef As Boolean)

參數

value
DateTime

可跨處理序或應用程式定義域界限傳遞的 DateTime 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.DateTime設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(DBNull, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 DBNull 引數。

public:
 RemoteArgument(DBNull ^ value, bool isByRef);
public RemoteArgument (DBNull value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : DBNull * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As DBNull, isByRef As Boolean)

參數

value
DBNull

可跨處理序或應用程式定義域界限傳遞的 DBNull 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.DBNull設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Decimal, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Decimal 引數。

public:
 RemoteArgument(System::Decimal value, bool isByRef);
public RemoteArgument (decimal value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : decimal * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Decimal, isByRef As Boolean)

參數

value
Decimal

可跨處理序或應用程式定義域界限傳遞的 Decimal 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Decimal設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Double, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Double 引數。

public:
 RemoteArgument(double value, bool isByRef);
public RemoteArgument (double value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : double * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Double, isByRef As Boolean)

參數

value
Double

可跨處理序或應用程式定義域界限傳遞的 Double 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Double設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Array, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Array 引數。

public:
 RemoteArgument(Array ^ array, bool isByRef);
public RemoteArgument (Array array, bool isByRef);
new System.AddIn.Contract.RemoteArgument : Array * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (array As Array, isByRef As Boolean)

參數

array
Array

可跨處理序或應用程式定義域界限傳遞的 Array 引數。

isByRef
Boolean

如果 array 是以傳址方式傳遞的引數則為 true,否則為 false

例外狀況

這個陣列元素型別不是基底型別 (亦即,這個陣列元素型別的 GetTypeCode(Type) 方法會傳回 Object)。

arraynull

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 IntrinsicArray、將 TypeCode 屬性設定為數位專案類型的型別程序代碼,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Int16, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int16 引數。

public:
 RemoteArgument(short value, bool isByRef);
public RemoteArgument (short value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : int16 * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Short, isByRef As Boolean)

參數

value
Int16

可跨處理序或應用程式定義域界限傳遞的 Int16 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Int16設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Int64, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int64 引數。

public:
 RemoteArgument(long value, bool isByRef);
public RemoteArgument (long value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : int64 * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Long, isByRef As Boolean)

參數

value
Int64

可跨處理序或應用程式定義域界限傳遞的 Int64 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Int64設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Single, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Single 引數。

public:
 RemoteArgument(float value, bool isByRef);
public RemoteArgument (float value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : single * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Single, isByRef As Boolean)

參數

value
Single

可跨處理序或應用程式定義域界限傳遞的 Single 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Single設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(String, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 String 引數。

public:
 RemoteArgument(System::String ^ value, bool isByRef);
public RemoteArgument (string value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : string * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As String, isByRef As Boolean)

參數

value
String

可跨處理序或應用程式定義域界限傳遞的 String 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.String設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(UInt16, Boolean)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt16 引數。

public:
 RemoteArgument(System::UInt16 value, bool isByRef);
[System.CLSCompliant(false)]
public RemoteArgument (ushort value, bool isByRef);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : uint16 * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As UShort, isByRef As Boolean)

參數

value
UInt16

可跨處理序或應用程式定義域界限傳遞的 UInt16 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.UInt16設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(UInt32, Boolean)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt32 引數。

public:
 RemoteArgument(System::UInt32 value, bool isByRef);
[System.CLSCompliant(false)]
public RemoteArgument (uint value, bool isByRef);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : uint32 * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As UInteger, isByRef As Boolean)

參數

value
UInt32

可跨處理序或應用程式定義域界限傳遞的 UInt32 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.UInt32設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(UInt64, Boolean)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 UInt64 引數。

public:
 RemoteArgument(System::UInt64 value, bool isByRef);
[System.CLSCompliant(false)]
public RemoteArgument (ulong value, bool isByRef);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : uint64 * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As ULong, isByRef As Boolean)

參數

value
UInt64

可跨處理序或應用程式定義域界限傳遞的 UInt64 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.UInt64設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(RemoteArgumentKind, TypeCode, Boolean)

針對可透過傳址方式傳遞的引數,使用指定的 RemoteArgumentRemoteArgumentKind 來初始化 TypeCode 類別的新執行個體。

public:
 RemoteArgument(System::AddIn::Contract::RemoteArgumentKind remoteArgKind, TypeCode typeCode, bool isByRef);
public RemoteArgument (System.AddIn.Contract.RemoteArgumentKind remoteArgKind, TypeCode typeCode, bool isByRef);
new System.AddIn.Contract.RemoteArgument : System.AddIn.Contract.RemoteArgumentKind * TypeCode * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (remoteArgKind As RemoteArgumentKind, typeCode As TypeCode, isByRef As Boolean)

參數

remoteArgKind
RemoteArgumentKind

一個 RemoteArgumentKind 值,表示 RemoteArgument 代表內建型別、內建型別的陣列、IContract 還是 Missing 值。

typeCode
TypeCode

TypeCode,指定遠端引數的基底型別。

isByRef
Boolean

如果是以傳址方式傳遞遠端引數則為 true,否則為 false

例外狀況

remoteArgKindIntrinsicIntrinsicArray,以及 typeCodeObjectEmpty

-或-

remoteArgKindMissingtypeCode 不是 Empty

-或-

remoteArgKindContracttypeCode 不是 Object

remoteArgKind 不是有效的 RemoteArgumentKind 值。

備註

這個建構函式會將 參數所 typeCode 指定的資料類型預設值指定 RemoteArgument

內部資料類型是基本資料類型 (,也就是Type.IsPrimitive型別的 true 屬性是) 或 StringDecimalDateTimeDBNull

適用於

RemoteArgument(Int32, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 Int32 引數。

public:
 RemoteArgument(int value, bool isByRef);
public RemoteArgument (int value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : int * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Integer, isByRef As Boolean)

參數

value
Int32

可跨處理序或應用程式定義域界限傳遞的 Int32 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Int32設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(RemoteArgumentKind, TypeCode)

針對不是以傳址方式傳遞的引數,使用指定的 RemoteArgumentRemoteArgumentKind 來初始化 TypeCode 類別的新執行個體。

public:
 RemoteArgument(System::AddIn::Contract::RemoteArgumentKind remoteArgKind, TypeCode typeCode);
public RemoteArgument (System.AddIn.Contract.RemoteArgumentKind remoteArgKind, TypeCode typeCode);
new System.AddIn.Contract.RemoteArgument : System.AddIn.Contract.RemoteArgumentKind * TypeCode -> System.AddIn.Contract.RemoteArgument
Public Sub New (remoteArgKind As RemoteArgumentKind, typeCode As TypeCode)

參數

remoteArgKind
RemoteArgumentKind

一個 RemoteArgumentKind 值,表示 RemoteArgument 代表內建型別、內建型別的陣列、IContract 還是 Missing 值。

typeCode
TypeCode

TypeCode,指定遠端引數的基底型別。

例外狀況

remoteArgKindIntrinsicIntrinsicArray,以及 typeCodeObjectEmpty

-或-

remoteArgKindMissingtypeCode 不是 Empty

-或-

remoteArgKindContracttypeCode 不是 Object

備註

這個建構函式會將 參數所 typeCode 指定的資料類型預設值指定 RemoteArgument

內部資料類型是基本資料類型 (,也就是Type.IsPrimitive型別的 true 屬性是) 或 StringDecimalDateTimeDBNull

適用於

RemoteArgument(SByte, Boolean)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 SByte 引數。

public:
 RemoteArgument(System::SByte value, bool isByRef);
[System.CLSCompliant(false)]
public RemoteArgument (sbyte value, bool isByRef);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : sbyte * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As SByte, isByRef As Boolean)

參數

value
SByte

可跨處理序或應用程式定義域界限傳遞的 SByte 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.SByte設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(UInt64)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt64 引數。

public:
 RemoteArgument(System::UInt64 value);
[System.CLSCompliant(false)]
public RemoteArgument (ulong value);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : uint64 -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As ULong)

參數

value
UInt64

可跨處理序或應用程式定義域界限傳遞的 UInt64 引數。

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.UInt64設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Array)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Array 引數。

public:
 RemoteArgument(Array ^ array);
public RemoteArgument (Array array);
new System.AddIn.Contract.RemoteArgument : Array -> System.AddIn.Contract.RemoteArgument
Public Sub New (array As Array)

參數

array
Array

可跨處理序或應用程式定義域界限傳遞的 Array 引數。

例外狀況

這個陣列元素型別不是基底型別 (亦即,這個陣列元素型別的 GetTypeCode(Type) 方法會傳回 Object)。

arraynull

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 IntrinsicArray、將 TypeCode 屬性設定為數位專案類型的型別程式代碼,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Boolean 引數。

public:
 RemoteArgument(bool value);
public RemoteArgument (bool value);
new System.AddIn.Contract.RemoteArgument : bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Boolean)

參數

value
Boolean

可跨處理序或應用程式定義域界限傳遞的 Boolean 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Boolean設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Byte)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Byte 引數。

public:
 RemoteArgument(System::Byte value);
public RemoteArgument (byte value);
new System.AddIn.Contract.RemoteArgument : byte -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Byte)

參數

value
Byte

可跨處理序或應用程式定義域界限傳遞的 Byte 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Byte設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Char)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Char 引數。

public:
 RemoteArgument(char value);
public RemoteArgument (char value);
new System.AddIn.Contract.RemoteArgument : char -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Char)

參數

value
Char

可跨處理序或應用程式定義域界限傳遞的 Char 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Char設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(DateTime)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 DateTime 引數。

public:
 RemoteArgument(DateTime value);
public RemoteArgument (DateTime value);
new System.AddIn.Contract.RemoteArgument : DateTime -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As DateTime)

參數

value
DateTime

可跨處理序或應用程式定義域界限傳遞的 DateTime 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.DateTime設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(DBNull)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 DBNull 引數。

public:
 RemoteArgument(DBNull ^ value);
public RemoteArgument (DBNull value);
new System.AddIn.Contract.RemoteArgument : DBNull -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As DBNull)

參數

value
DBNull

可跨處理序或應用程式定義域界限傳遞的 DBNull 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.DBNull設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(IContract, Boolean)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示可透過傳址方式傳遞的 IContract 引數。

public:
 RemoteArgument(System::AddIn::Contract::IContract ^ value, bool isByRef);
public RemoteArgument (System.AddIn.Contract.IContract value, bool isByRef);
new System.AddIn.Contract.RemoteArgument : System.AddIn.Contract.IContract * bool -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As IContract, isByRef As Boolean)

參數

value
IContract

可跨處理序或應用程式定義域界限傳遞的 IContract 引數。

isByRef
Boolean

如果 value 是以傳址方式傳遞的引數則為 true,否則為 false

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Contract、將 TypeCode 屬性 TypeCode.Object設定為 ,並將 IsByRef 屬性設定為 參數的值 isByRef

適用於

RemoteArgument(Double)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Double 引數。

public:
 RemoteArgument(double value);
public RemoteArgument (double value);
new System.AddIn.Contract.RemoteArgument : double -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Double)

參數

value
Double

可跨處理序或應用程式定義域界限傳遞的 Double 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Double設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Decimal)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Decimal 引數。

public:
 RemoteArgument(System::Decimal value);
public RemoteArgument (decimal value);
new System.AddIn.Contract.RemoteArgument : decimal -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Decimal)

參數

value
Decimal

可跨處理序或應用程式定義域界限傳遞的 Decimal 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Decimal設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Int32)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int32 引數。

public:
 RemoteArgument(int value);
public RemoteArgument (int value);
new System.AddIn.Contract.RemoteArgument : int -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Integer)

參數

value
Int32

可跨處理序或應用程式定義域界限傳遞的 Int32 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Int32設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Int64)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int64 引數。

public:
 RemoteArgument(long value);
public RemoteArgument (long value);
new System.AddIn.Contract.RemoteArgument : int64 -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Long)

參數

value
Int64

可跨處理序或應用程式定義域界限傳遞的 Int64 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Int64設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(SByte)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 SByte 引數。

public:
 RemoteArgument(System::SByte value);
[System.CLSCompliant(false)]
public RemoteArgument (sbyte value);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : sbyte -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As SByte)

參數

value
SByte

可跨處理序或應用程式定義域界限傳遞的 SByte 引數。

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.SByte設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Single)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Single 引數。

public:
 RemoteArgument(float value);
public RemoteArgument (float value);
new System.AddIn.Contract.RemoteArgument : single -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Single)

參數

value
Single

可跨處理序或應用程式定義域界限傳遞的 Single 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Single設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(String)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 String 引數。

public:
 RemoteArgument(System::String ^ value);
public RemoteArgument (string value);
new System.AddIn.Contract.RemoteArgument : string -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As String)

參數

value
String

可跨處理序或應用程式定義域界限傳遞的 String 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.String設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(UInt16)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt16 引數。

public:
 RemoteArgument(System::UInt16 value);
[System.CLSCompliant(false)]
public RemoteArgument (ushort value);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : uint16 -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As UShort)

參數

value
UInt16

可跨處理序或應用程式定義域界限傳遞的 UInt16 引數。

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.UInt16設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(UInt32)

重要

此 API 不符合 CLS 規範。

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 UInt32 引數。

public:
 RemoteArgument(System::UInt32 value);
[System.CLSCompliant(false)]
public RemoteArgument (uint value);
[<System.CLSCompliant(false)>]
new System.AddIn.Contract.RemoteArgument : uint32 -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As UInteger)

參數

value
UInt32

可跨處理序或應用程式定義域界限傳遞的 UInt32 引數。

屬性

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.UInt32設定為 ,並將 IsByRef 屬性設定為 false

適用於

RemoteArgument(Int16)

初始化 RemoteArgument 類別的新執行個體,這個執行個體表示 Int16 引數。

public:
 RemoteArgument(short value);
public RemoteArgument (short value);
new System.AddIn.Contract.RemoteArgument : int16 -> System.AddIn.Contract.RemoteArgument
Public Sub New (value As Short)

參數

value
Int16

可跨處理序或應用程式定義域界限傳遞的 Int16 引數。

備註

這個建構函式會將 RemoteArgumentKind 屬性設定為 Intrinsic、將 TypeCode 屬性 TypeCode.Int16設定為 ,並將 IsByRef 屬性設定為 false

適用於