Click or drag to resize

MFClassAttribute Class

Class object.
Inheritance Hierarchy

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)]
[DataContractAttribute]
public class MFClassAttribute : VaultElementReferenceAttribute

The MFClassAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMFClassAttribute
Constructor.
Top
Properties
  NameDescription
Public propertyAllowEmpty
Is it allowed for this item to be unset, empty or null. Default is false.
(Inherited from VaultElementReferenceAttribute.)
Public propertyAttributeType
Type of the target, used in id resolving.
(Inherited from VaultElementReferenceAttribute.)
Public propertyRefMember
Name of the class member containing the reference alias/guid/id of the type. Has a default value. If object with the attribute is not class, this value is ignored.
(Inherited from VaultElementReferenceAttribute.)
Public propertyRequired
Is the reference absolute requirement, default is true.
(Inherited from VaultElementReferenceAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyValidate
Should the reference be validated. Default is true.
(Inherited from VaultElementReferenceAttribute.)
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldAssociatedProperties
PropertyDef references this class should be associated with, with Required flag false.
Public fieldObjectType
Object type reference this class should be able to be assigned to. Can be set manually if the ObjectType is not available as member of this class object.
Public fieldRequiredAssociatedProperties
PropertyDef references this class should be associated with, with Required flag true.
Top
See Also