Share via


SchemaCompareFileBasedModelProvider.Deserialize Method

Deserializes the state of the current provider from the given XML node.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public Overrides Function Deserialize ( _
    parent As XmlNode, _
    <OutAttribute> ByRef errorMessage As String _
) As Boolean
public override bool Deserialize(
    XmlNode parent,
    out string errorMessage
)
public:
virtual bool Deserialize(
    XmlNode^ parent, 
    [OutAttribute] String^% errorMessage
) override
abstract Deserialize : 
        parent:XmlNode * 
        errorMessage:string byref -> bool 
override Deserialize : 
        parent:XmlNode * 
        errorMessage:string byref -> bool 
public override function Deserialize(
    parent : XmlNode, 
    errorMessage : String
) : boolean

Parameters

  • errorMessage
    Type: System.String%
    (Output) A string that contains an error message if a problem occurred during deserialization and the return value is false.

Return Value

Type: System.Boolean
true if the object was successfully deserialized; otherwise, false, and an error message is provided in the errorMessage output parameter.

Implements

ISchemaCompareModelProvider.Deserialize(XmlNode, String%)

.NET Framework Security

See Also

Reference

SchemaCompareFileBasedModelProvider Class

Microsoft.Data.Schema.Tools.Compare.Schema Namespace