SyncKnowledge.Serialize 方法 (Boolean)

将知识对象数据序列化到一个字节数组。

命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)

语法

声明
Public Function Serialize ( _
    includeReplicaKeyMap As Boolean _
) As Byte()
用法
Dim instance As SyncKnowledge
Dim includeReplicaKeyMap As Boolean
Dim returnValue As Byte()

returnValue = instance.Serialize(includeReplicaKeyMap)
public byte[] Serialize (
    bool includeReplicaKeyMap
)
public:
array<unsigned char>^ Serialize (
    bool includeReplicaKeyMap
)
public byte[] Serialize (
    boolean includeReplicaKeyMap
)
public function Serialize (
    includeReplicaKeyMap : boolean
) : byte[]

参数

  • includeReplicaKeyMap
    如果副本键映射要包括在序列化的数据中,则为 true。否则为 false

返回值

包含序列化知识对象的数据的字节数组。

请参阅

参考

SyncKnowledge 类
SyncKnowledge 成员
Microsoft.Synchronization 命名空间