Click or drag to resize

MFAssociatedPropertyAttribute Class

Associated Property Definition.
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#
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)]
public class MFAssociatedPropertyAttribute : MFPropertyDefAttribute

The MFAssociatedPropertyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMFAssociatedPropertyAttribute
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 propertyClass
Reference (ID, GUID, alias) to the class type this property must be associated to. Not needed if nested under MFClass object.
Public propertyObjectType
Optional reference (ID, GUID, alias) to the object type this property must be able to be assigned to.
(Inherited from MFPropertyDefAttribute.)
Public propertyObjectTypeMember
Alternative for ObjectType=, used only with class type objects. Name of the class member containing the reference value of ObjectType.
(Inherited from MFPropertyDefAttribute.)
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.)
Public propertyValueList
Optional reference (ID, GUID, alias) to the ValueList (or object type) which SSLU or MSLU must refer.
(Inherited from MFPropertyDefAttribute.)
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
Customized String representation with attributes.
(Overrides MFPropertyDefAttributeToString.)
Top
Fields
  NameDescription
Public fieldDatatypes
Optional array of DataTypes the property needs to be one of.
(Inherited from MFPropertyDefAttribute.)
Public fieldValueRequired
Is property required property of the class.
Top
See Also