XsltArgumentList Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a variable number of arguments which are either XSLT parameters or extension objects.
public ref class XsltArgumentList
public ref class XsltArgumentList sealed
public class XsltArgumentList
public sealed class XsltArgumentList
type XsltArgumentList = class
Public Class XsltArgumentList
Public NotInheritable Class XsltArgumentList
- Inheritance
-
XsltArgumentList
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.
Xslt |
Implements a new instance of the XsltArgumentList. |
Add |
Adds a new object to the XsltArgumentList and associates it with the namespace URI. |
Add |
Adds a parameter to the XsltArgumentList and associates it with the namespace qualified name. |
Clear() |
Removes all parameters and extension objects from the XsltArgumentList. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Gets the object associated with the given namespace. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the parameter associated with the namespace qualified name. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove |
Removes the object with the namespace URI from the XsltArgumentList. |
Remove |
Removes the parameter from the XsltArgumentList. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Xslt |
Occurs when a message is specified in the style sheet by the |
제품 | 버전 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.