RemoteArgument 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 RemoteArgument 類別的新執行個體。
多載
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)
參數
備註
此構造子將性質設 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 array 是透過參照傳遞的參數;否則, false。
例外狀況
陣列元素類型不是基底類型(也就是說 GetTypeCode(Type) ,方法回傳 Object 陣列元素類型)。
array 是 null。
備註
此建構器將屬性設為 RemoteArgumentKindIntrinsicArray,屬性 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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。
- isByRef
- Boolean
true若遠端參數是透過參考傳遞;否則,。 false
例外狀況
remoteArgKind 是 Intrinsic 或 IntrinsicArray,且 typeCode 是 Object 或 Empty。
-或-
remoteArgKind 是 Missing 且 typeCode 不是 Empty。
-或-
remoteArgKind 不是一個有效的 RemoteArgumentKind 值。
備註
此建構子會將參數指定的 typeCode 資料型態預設值指派給 RemoteArgument。
內在資料型態是一種原始資料型態(即Type.IsPrimitive該型別的性質為 true),或為 String、 Decimal、 DateTimeDBNull、 或 。
適用於
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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, false。
備註
此構造子將屬性設為 RemoteArgumentKind ,屬性 Intrinsic 為 TypeCode,TypeCode.Int32屬性為參數值IsByRef。isByRef
適用於
RemoteArgument(RemoteArgumentKind, TypeCode)
使用指定的 RemoteArgument 和 RemoteArgumentKind 初始化一個新的類別實例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。
例外狀況
remoteArgKind 是 Intrinsic 或 IntrinsicArray,且 typeCode 是 Object 或 Empty。
-或-
remoteArgKind 是 Missing 且 typeCode 不是 Empty。
-或-
備註
此建構子會將參數指定的 typeCode 資料型態預設值指派給 RemoteArgument。
內在資料型態是一種原始資料型態(即Type.IsPrimitive該型別的性質為 true),或為 String、 Decimal、 DateTimeDBNull、 或 。
適用於
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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
- 屬性
備註
此構造子將性質設 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)
參數
例外狀況
陣列元素類型不是基底類型(也就是說, GetTypeCode(Type) 陣列元素類型的方法會回傳 Object)。
array 是 null。
備註
此建構子將屬性設為 RemoteArgumentKindIntrinsicArray,屬性 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
- isByRef
- Boolean
true 若 value 是透過參照傳遞的參數;否則, 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
- 屬性
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 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)
參數
- 屬性
備註
此構造子將性質設 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)
參數
- 屬性
備註
此構造子將性質設 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)
參數
備註
此構造子將性質設 RemoteArgumentKind 為 Intrinsic,屬性 TypeCode 為 ,屬性 為 TypeCode.Int16, IsByRef 屬性 為 false。