VbaModuleAttribute.GetHashCode
Contents
[
Hide
]VbaModuleAttribute.GetHashCode method
Returns a hash code value for this VbaModuleAttribute
.
public override int GetHashCode()
Return Value
Returns a hash code value for this object.
Examples
Shows how to get a hash code of a VBA module attribute.
var project = new Project(DataDir + "VbaProject.mpp");
var module = project.VbaProject.Modules.ToList()[0];
var attribute1 = module.Attributes.ToList()[0];
var attribute2 = module.Attributes.ToList()[0];
// print hash codes of a VBA module attributes
Console.WriteLine("Hash codes of VBA module attributes are based on key and value hash codes.");
Console.WriteLine("VBA module attribute 1 Hash Code: {0}", attribute1.GetHashCode());
Console.WriteLine("VBA module attribute 2 Hash Code: {0}", attribute2.GetHashCode());
See Also
- class VbaModuleAttribute
- namespace Aspose.Tasks
- assembly Aspose.Tasks