RemoteArgument.UInt16Value 屬性

定義

重要

此 API 不符合 CLS 規範。

取得或設定 UInt16 所表示的 RemoteArgument

public:
 property System::UInt16 UInt16Value { System::UInt16 get(); void set(System::UInt16 value); };
[System.CLSCompliant(false)]
public ushort UInt16Value { get; set; }
[<System.CLSCompliant(false)>]
member this.UInt16Value : uint16 with get, set
Public Property UInt16Value As UShort

屬性值

UInt16 所表示的 RemoteArgument,如果尚未指定 RemoteArgument 的值,則為 0 (零)。

屬性

例外狀況

RemoteArgumentKind 屬性不是設定為 Intrinsic 值。

-或-

TypeCode 屬性不是設定為 UInt16 值。

-或-

IsByRef 屬性為 false 時,會設定這個屬性。

適用於