The VGProfileAttributeDefinition<(Of <(<'T>)>)> type exposes the following members.

Methods

  NameDescription
Public methodCanParse
returns true if attribute value can be parsed else false.
Public methodCheckValue(T)
Checks value agains parameters or criterias set for the attribute.
Public methodCheckValue(Object, Exception%)
Checks value agains parameters or criterias set for the attribute.
Public methodCheckValue(T, Exception%)
Checks value agains parameters set for the attribute. ex. MinValue, MaxValue specified for integer attribute. Then passed value is within range of MinValue and MaxValue.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDefaultValue
Gets default value for attribute
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse
Parses the Attribute Value based on its type
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidateAttributeDefinition
Validates Attribute definition object. ex. If Default value of the attribute meets criteria, MinValue is greaterthan MaxValue. or any specific condition for attribute definition object.
Protected methodValidateAttributeDefinitionCore
When the customer changes the object, before to save in database, we check if the data is correct. It Validates Attribute definition. ex. If Default value of the attribute meets criteria, or any specific condition for attribute definition object.
Public methodValidateAttributeValue
Validates attribute value against its datatype, if attribute value passed is corresponding to attribute's datatype. ex. For Integer attribute, passed value is integer or other datatype (double, string )

See Also