Deserialize 方法 (XmlReader, SfcObjectState)
Deserializes the file stream into an object. The specified SfcObjectState value is applied to the deserialized object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Function Deserialize ( _
xmlReader As XmlReader, _
state As SfcObjectState _
) As Object
用法
Dim instance As SfcSerializer
Dim xmlReader As XmlReader
Dim state As SfcObjectState
Dim returnValue As Object
returnValue = instance.Deserialize(xmlReader, _
state)
public Object Deserialize(
XmlReader xmlReader,
SfcObjectState state
)
public:
Object^ Deserialize(
XmlReader^ xmlReader,
SfcObjectState state
)
member Deserialize :
xmlReader:XmlReader *
state:SfcObjectState -> Object
public function Deserialize(
xmlReader : XmlReader,
state : SfcObjectState
) : Object
参数
- xmlReader
类型:System.Xml. . :: . .XmlReader
An XmlReader object that contains the file stream with the serialized document.
- state
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectState
An SfcObjectState value that specifies the state of the deserialized object.
返回值
类型:System. . :: . .Object
The deserialized object.