Click or drag to resize

PropertyMethodInfo Class

PropertyMethodInfo represents a handler method that the VBScript delegates to. It can handle property value validation, customized automatic numbering and custom value calculation.
Inheritance Hierarchy
SystemObject
  MFiles.VAFPropertyMethodInfo

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class PropertyMethodInfo : IPropertyMethodInfo, 
	IMethodInfoBase

The PropertyMethodInfo type exposes the following members.

Constructors
  NameDescription
Public methodPropertyMethodInfo
Constructor.
Top
Properties
  NameDescription
Public propertyLogString
Returns a string for logging that contains the method name and declaring type.
Public propertyPriority
The event handler method call priority. Calls with higher priority should be executed before calls with lower priority.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetAutomaticNumber
Calculates an automatic number for the given property.
Public methodGetCustomValue
Calculates an automatic number for the given property.
Public methodGetHashCode
Serves as the default hash function.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the given property value.
Top
Fields
  NameDescription
Protected fieldattribute
The attribute instance that was attached to the method declaration.
Protected fieldautomaticNumberingMethod
The custom value calculation method. This is used when the method type is PropertyAttribute.AttributeType.PropertyAutomaticNumbering.
Protected fieldcustomValueMethod
The customized automatic numbering method. This is used when the method type is PropertyAttribute.AttributeType.PropertyCustomValue.
Protected fieldvalidationMethod
The property value validation method. This is used when the method type is PropertyAttribute.AttributeType.PropertyValueValidation.
Top
See Also