ISchemaCompareModelProvider.Deserialize Method
Deserializes the ISchemaCompareModelProvider into an object by using the provided XML node, and optionally returns an error message if a problem occurs during deserialization.
Namespace: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Function Deserialize ( _
parent As XmlNode, _
<OutAttribute> ByRef errorMessage As String _
) As Boolean
bool Deserialize(
XmlNode parent,
out string errorMessage
)
bool Deserialize(
XmlNode^ parent,
[OutAttribute] String^% errorMessage
)
abstract Deserialize :
parent:XmlNode *
errorMessage:string byref -> bool
function Deserialize(
parent : XmlNode,
errorMessage : String
) : boolean
Parameters
- parent
Type: System.Xml.XmlNode
An XmlNode from which the current object can be deserialized.
- errorMessage
Type: System.String%
(Output) A string that may contain an error message if a problem occurred during deserialization.
Return Value
Type: System.Boolean
true if the object was instantiated from XML; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.