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.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class PropertyMethodInfo : IPropertyMethodInfo, 
	IMethodInfoBase
Inheritance
Object    PropertyMethodInfo
Implements
IMethodInfoBase, IPropertyMethodInfo

Constructors

PropertyMethodInfo Constructor.

Properties

LogString Returns a string for logging that contains the method name and declaring type.
Priority The event handler method call priority. Calls with higher priority should be executed before calls with lower priority.

Methods

GetAutomaticNumber Calculates an automatic number for the given property.
GetCustomValue Calculates an automatic number for the given property.
Validate Validates the given property value.

Fields

attribute The attribute instance that was attached to the method declaration.
automaticNumberingMethod The custom value calculation method. This is used when the method type is PropertyAttribute.AttributeType.PropertyAutomaticNumbering.
customValueMethod The customized automatic numbering method. This is used when the method type is PropertyAttribute.AttributeType.PropertyCustomValue.
validationMethod The property value validation method. This is used when the method type is PropertyAttribute.AttributeType.PropertyValueValidation.

See Also