VbaReference

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IEquatable

public final class VbaReference implements System.IEquatable<VbaReference>

Represents a reference of the VbaProject.

Constructors

ConstructorDescription
VbaReference()

Methods

MethodDescription
equals(VbaReference other)Returns a value indicating whether this instance is equal to the specified VbaReference object.
equals(Object obj)Returns a value indicating whether this instance is equal to the specified VbaReference object.
getLibIdentifier()Gets identifier of the library.
getName()Gets name of VBA reference.
hashCode()Returns a hash code value for this VbaReference.
setName(String value)Sets name of VBA reference.

VbaReference()

public VbaReference()

equals(VbaReference other)

public final boolean equals(VbaReference other)

Returns a value indicating whether this instance is equal to the specified VbaReference object.

Parameters:

ParameterTypeDescription
otherVbaReferenceThe specified VbaReference object to compare with this instance.

Returns: boolean - Returns true if this instance is equal to the specified VbaReference object; otherwise, false.

equals(Object obj)

public boolean equals(Object obj)

Returns a value indicating whether this instance is equal to the specified VbaReference object.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe specified VbaReference object to compare with this instance.

Returns: boolean - Returns true if this instance is equal to the specified VbaReference object; otherwise, false.

getLibIdentifier()

public final String getLibIdentifier()

Gets identifier of the library.

Returns: java.lang.String - identifier of the library.

getName()

public final String getName()

Gets name of VBA reference.

Returns: java.lang.String - name of VBA reference.

hashCode()

public int hashCode()

Returns a hash code value for this VbaReference.

Returns: int - Returns a hash code value for this object.

setName(String value)

public final void setName(String value)

Sets name of VBA reference.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringname of VBA reference.