XsltArgumentList XsltArgumentList XsltArgumentList XsltArgumentList Class

Definition

Contains a variable number of arguments which are either XSLT parameters or extension objects.

public ref class XsltArgumentList
public class XsltArgumentList
type XsltArgumentList = class
Public Class XsltArgumentList
Inheritance
XsltArgumentListXsltArgumentListXsltArgumentListXsltArgumentList

Remarks

This class is used by the Transform method. It allows parameters and extension objects to be invoked from within the style sheet.

When the parameters and objects are added to the XsltArgumentList, they are associated with a namespace qualified name and a namespace URI, respectively.

The following are advantages to passing an object rather than using an embedded script such as <msxsl:script>:

  • Provides better encapsulation and reuse of classes.

  • Allows style sheets to be smaller and more easily maintained.

  • Supports passing node fragments (through the XPathNavigator) to the style sheet.

For more information about using the XsltArgumentList, see XSLT Extension Objects and XSLT Parameters.

Constructors

XsltArgumentList() XsltArgumentList() XsltArgumentList() XsltArgumentList()

Implements a new instance of the XsltArgumentList.

Methods

AddExtensionObject(String, Object) AddExtensionObject(String, Object) AddExtensionObject(String, Object) AddExtensionObject(String, Object)

Adds a new object to the XsltArgumentList and associates it with the namespace URI.

AddParam(String, String, Object) AddParam(String, String, Object) AddParam(String, String, Object) AddParam(String, String, Object)

Adds a parameter to the XsltArgumentList and associates it with the namespace qualified name.

Clear() Clear() Clear() Clear()

Removes all parameters and extension objects from the XsltArgumentList.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetExtensionObject(String) GetExtensionObject(String) GetExtensionObject(String) GetExtensionObject(String)

Gets the object associated with the given namespace.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetParam(String, String) GetParam(String, String) GetParam(String, String) GetParam(String, String)

Gets the parameter associated with the namespace qualified name.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveExtensionObject(String) RemoveExtensionObject(String) RemoveExtensionObject(String) RemoveExtensionObject(String)

Removes the object with the namespace URI from the XsltArgumentList.

RemoveParam(String, String) RemoveParam(String, String) RemoveParam(String, String) RemoveParam(String, String)

Removes the parameter from the XsltArgumentList.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

XsltMessageEncountered XsltMessageEncountered XsltMessageEncountered XsltMessageEncountered

Occurs when a message is specified in the style sheet by the xsl:message element.

Applies to