Bagikan melalui


CustomSchemaData Class

Holds an arbitrary categorized data collection that can be attached to DataSchemaModel.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.CustomSchemaData

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class CustomSchemaData
[SerializableAttribute]
public sealed class CustomSchemaData
[SerializableAttribute]
public ref class CustomSchemaData sealed
[<Sealed>]
[<SerializableAttribute>]
type CustomSchemaData =  class end
public final class CustomSchemaData

The CustomSchemaData type exposes the following members.

Constructors

  Name Description
Public method CustomSchemaData(CustomSchemaData) Initializes a new instance of the CustomSchemaData class by using an existing instance.
Public method CustomSchemaData(String, String) Initializes a new instance of the CustomSchemaData class.

Top

Properties

  Name Description
Public property Category Gets the category of this data.
Public property DataType Gets the data type.
Public property MetadataNames Gets a collection of metadata names.

Top

Methods

  Name Description
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.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMetadata Returns the value that is associated with a metadata name.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method MatchesTypeAndCategory Returns a value that indicates whether the specified category and type match this.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveMetadata Removes a corresponding metadata value from a collection.
Public method SetMetadata Adds or resets a named metadata value to a collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.SchemaModel Namespace