Accusoft.FormDirector3.Net - Updated
GetTemplateHashCode Method (FormDefinitionCollection)




Accusoft.FormDirectorSdk Namespace > FormDefinitionCollection Class : GetTemplateHashCode Method
Serves as a hash function for template images of this object.
Syntax
'Declaration
 
Public Function GetTemplateHashCode() As Integer
'Usage
 
Dim instance As FormDefinitionCollection
Dim value As Integer
 
value = instance.GetTemplateHashCode()
public int GetTemplateHashCode()
public: int GetTemplateHashCode(); 
public:
int GetTemplateHashCode(); 

Return Value

An integer that contains the hash code for the object. Two FormDefinitionCollection objects whose FormDefinition objects have different template image hash codes will almost always have different template image hash codes.
Remarks

This method computes and returns a hash code for this object. Unlike the GetHashCode method, this method is not intended for use in a hash table or other similar data structure. Instead, you can use it to determine when template images in this object have changed. Specifically, this method examines the template images of the forms in the collection and their ordering, which affects form identification.

See Also

Reference

FormDefinitionCollection Class
FormDefinitionCollection Members
FormDefinition.GetTemplateHashCode Method
GetHashCode Method
GetPartialHashCode Method