ModelAnnotationClass Class
Represents a base metadata class for annotations in model elements.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelPropertyContainerClass
Microsoft.Data.Schema.SchemaModel.ModelAnnotationClass
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class ModelAnnotationClass _
Inherits ModelPropertyContainerClass
public sealed class ModelAnnotationClass : ModelPropertyContainerClass
public ref class ModelAnnotationClass sealed : public ModelPropertyContainerClass
[<Sealed>]
type ModelAnnotationClass =
class
inherit ModelPropertyContainerClass
end
public final class ModelAnnotationClass extends ModelPropertyContainerClass
The ModelAnnotationClass type exposes the following members.
Properties
Name | Description | |
---|---|---|
AnnotationType | Gets the Type of the annotation. | |
ClassName | Gets the annotation class name. | |
IsSerializable | Gets a value that indicates whether the annotation is serializable. | |
NameMandatory | Gets a value that indicates whether annotations of this class must always have a name. | |
PropertyClasses | Gets a list of metadata objects for the properties in this element. (Inherited from ModelPropertyContainerClass.) | |
RequiresControllerLock | Gets a value that indicates whether annotations of this type require a controller lock. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPropertyClass | Returns the property metadata object that are identified by the provided name. (Inherited from ModelPropertyContainerClass.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnExternalPropertyClassAdded | Called when an external property class is registered for this element. (Inherited from ModelPropertyContainerClass.) | |
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.