Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Xml.​Xsl.​XsltArgumentList

Assembly: System.Xml.ReaderWriter

Inheritance: object → XsltArgumentList

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

Methods

public void
AddExtensionObject​(string namespaceUri, object extension)
Adds a new object to the <see cref="T:System.Xml.Xsl.XsltArgumentList" /> and associates it with the namespace URI.
namespaceUri The namespace URI to associate with the object. To use the default namespace, specify an empty string.
extension The object to add to the list.
public void
AddParam​(string name, string namespaceUri, object parameter)
Adds a parameter to the <see cref="T:System.Xml.Xsl.XsltArgumentList" /> and associates it with the namespace qualified name.
name The name to associate with the parameter.
namespaceUri The namespace URI to associate with the parameter. To use the default namespace, specify an empty string.
parameter The parameter value or object to add to the list.
public void
Clear​()
Removes all parameters and extension objects from the <see cref="T:System.Xml.Xsl.XsltArgumentList" /> .
public object
GetExtensionObject​(string namespaceUri)
Gets the object associated with the given namespace.
Returns The namespace URI object or <see langword="null" /> if one was not found.
namespaceUri The namespace URI of the object.
public object
GetParam​(string name, string namespaceUri)
Gets the parameter associated with the namespace qualified name.
Returns The parameter object or <see langword="null" /> if one was not found.
name The name of the parameter. <see cref="T:System.Xml.Xsl.XsltArgumentList" /> does not check to ensure the name passed is a valid local name; however, the name cannot be <see langword="null" /> .
namespaceUri The namespace URI associated with the parameter.
public object
RemoveExtensionObject​(string namespaceUri)
Removes the object with the namespace URI from the <see cref="T:System.Xml.Xsl.XsltArgumentList" /> .
Returns The object with the namespace URI or <see langword="null" /> if one was not found.
namespaceUri The namespace URI associated with the object to remove.
public object
RemoveParam​(string name, string namespaceUri)
Removes the parameter from the <see cref="T:System.Xml.Xsl.XsltArgumentList" /> .
Returns The parameter object or <see langword="null" /> if one was not found.
name The name of the parameter to remove. <see cref="T:System.Xml.Xsl.XsltArgumentList" /> does not check to ensure the name passed is a valid local name; however, the name cannot be <see langword="null" /> .
namespaceUri The namespace URI of the parameter to remove.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object