HTMLchunk Methods

Majestic12

High-performance .NET C# HTMLparser Library

HTMLchunk Methods

The methods of the HTMLchunk class are listed below. For a complete list of HTMLchunk class members, see the HTMLchunk Members topic.

Public Static Methods

MakeSafeParamValue Makes parameter value safe to be used in param - this will check for any conflicting quote chars, but not full entity-encoding

Public Instance Methods

AddParam Adds tag parameter to the chunk
Clear Clears chunk preparing it for
ConvertParamsToHash This function will convert parameters stored in sParams/sValues arrays into oParams hash Useful if generally parsing is done when bHashMode is FALSE. Hash operations are not the fastest, so its best not to use this function.
Dispose 
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GenerateHTML Generates HTML based on current chunk's data Note: this is not a high performance method and if you want ORIGINAL HTML that was parsed to create this chunk then use relevant HTMLparser method to obtain such HTML
GenerateParamHTML Generates HTML for param/value pair
GenerateParamsHTML Generates HTML for params in this chunk
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetParamValue Returns value of a parameter
GetType (inherited from Object) Gets the Type of the current instance.
SetEncoding Sets encoding to be used for conversion of binary data into string
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HTMLchunk Class | Majestic12 Namespace