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




Accusoft.FormDirectorSdk Namespace > FormSet 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 FormSet
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 FormSet objects whose FormDefinitions properties are different will almost always have different hash codes.
Remarks

This method computes and returns a hash code for this object based only on the template images. 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 the template images of this object have changed. Specifically, this method examines the TemplateImages of the FormDefinitions, and order of these items, which affects form identification.

See Also

Reference

FormSet Class
FormSet Members
GetHashCode Method
GetPartialHashCode Method