PersistentStringHashAdd(StringBuilder, Int32) Method

Adds a sequence of characters from the content of a StringBuilder to the hash code that begins with startIndex and reaches to the end of builder.

Definition

Namespace: FolkerKinzel.Strings
Assembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
C#
public void Add(
	StringBuilder builder,
	int startIndex
)

Parameters

builder  StringBuilder
The StringBuilder whose content is hashed.
startIndex  Int32

Exceptions

ArgumentNullExceptionbuilder is null.
ArgumentOutOfRangeExceptionstartIndex is less than zero or greater than the number of characters in builder.
InvalidOperationException The instance had been initialized using the default constructor.

See Also