System.Xml.Xsl.XsltArgumentList.AddExtensionObject Method

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

Syntax

public void AddExtensionObject (string namespaceUri, object extension)

Parameters

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.

Remarks

The params keyword, which allows an unspecified number of parameters to be passed, is currently not supported. XSLT style sheets that utilize methods defined with the params keyword does not work correctly. For more information, see params.

Requirements

Namespace: System.Xml.Xsl
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0