次の方法で共有


SyncId コンストラクタ (Byte , Boolean)

指定した生 ID、および ID が固定長または可変長のどちらであるかを示す値を含む、SyncId クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.Synchronization
アセンブリ: Microsoft.Synchronization (microsoft.synchronization.dll 内)

構文

'宣言
Public Sub New ( _
    rawId As Byte(), _
    isVariableLength As Boolean _
)
'使用
Dim rawId As Byte()
Dim isVariableLength As Boolean

Dim instance As New SyncId(rawId, isVariableLength)
public SyncId (
    byte[] rawId,
    bool isVariableLength
)
public:
SyncId (
    array<unsigned char>^ rawId, 
    bool isVariableLength
)
public SyncId (
    byte[] rawId, 
    boolean isVariableLength
)
public function SyncId (
    rawId : byte[], 
    isVariableLength : boolean
)

パラメータ

  • rawId
    生 ID データです。
  • isVariableLength
    これが可変長 ID である場合は true、可変長 ID でない場合は false です。

解説

この形式のコンストラクタは、ID データを指定どおり正確に格納します。

参照

リファレンス

SyncId クラス
SyncId メンバ
Microsoft.Synchronization 名前空間