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.2.0.9
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 methodGetAutomaticNumber
Calculates an automatic number for the given property.
Public methodGetCustomValue
Calculates an automatic number for the given property.
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