Share via


SchemaCompareExcludedElement Class

Identifies an element that is not included in the comparison of elements in the Schema Compare window of Visual Studio.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Tools.Compare.Schema.SchemaCompareExcludedElement

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

Syntax

'Declaration
Public Class SchemaCompareExcludedElement
public class SchemaCompareExcludedElement
public ref class SchemaCompareExcludedElement
type SchemaCompareExcludedElement =  class end
public class SchemaCompareExcludedElement

The SchemaCompareExcludedElement type exposes the following members.

Constructors

  Name Description
Public method SchemaCompareExcludedElement Initializes a new instance of the SchemaCompareExcludedElement class by using the provided schema compare model provider and model element.

Top

Properties

  Name Description
Protected property ModelProvider Gets or sets the current schema model comparison provider.
Protected property NameParts Gets a list of the parts of an element name. The set procedure is private.
Public property ParentElement Gets the element that contains the current object. The set procedure is private.
Public property Type Gets the Type of the excluded element. The set procedure is private.

Top

Methods

  Name Description
Public method Deserialize Deserializes the element from the provided XML node.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetElementsFromParts Called during deserialization to return a list that contains model elements that are instantiated from the type name and the name parts that are reconstituted from serialized data.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetIdentifier Returns a unique model identifier for the provided element.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Serialize Serializes the current element to the provided XML node in the provided parent XML node.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryParseExcludedElement Attempts to parse each of the provided model elements and returns a value that indicates whether all the elements could be parsed. It also returns a list of the parsed elements in the output parameter.

Top

Remarks

The details of this class can be viewed in the Schema Compare Options dialog box in Visual Studio Premium and Visual Studio Ultimate.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

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

Other Resources

Extending the Database Features of Visual Studio