XmlDsigXsltTransform.LoadInput(Object) Method
Definition
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.
Loads the specified input into the current XmlDsigXsltTransform object.
public:
override void LoadInput(System::Object ^ obj);
public override void LoadInput (object obj);
override this.LoadInput : obj -> unit
Public Overrides Sub LoadInput (obj As Object)
Parameters
- obj
- Object
The input to load into the current XmlDsigXsltTransform object.
Examples
The following code example demonstrates how to call the LoadInput method using the specified XmlDocument object as the input. This code example is part of a larger example provided for the XmlDsigXsltTransform class.
XmlNamespaceManager^ namespaceManager;
namespaceManager = gcnew XmlNamespaceManager( xmlDoc->NameTable );
XmlNodeList^ productsNodeList;
productsNodeList = xmlDoc->SelectNodes( L"//.", namespaceManager );
xmlTransform->LoadInput( productsNodeList );
XmlNamespaceManager namespaceManager;
namespaceManager = new XmlNamespaceManager(xmlDoc.NameTable);
XmlNodeList productsNodeList;
productsNodeList = xmlDoc.SelectNodes("//.", namespaceManager);
xmlTransform.LoadInput(productsNodeList);
dim namespaceManager as New XmlNamespaceManager(xmlDoc.NameTable)
Dim productsNodeList As XmlNodeList
productsNodeList = xmlDoc.SelectNodes("//.", namespaceManager)
xmlTransform.LoadInput(productsNodeList)
Remarks
The type of the input object must be one of the types in the InputTypes property. The valid input types to XmlDsigXsltTransform are Stream, XmlDocument, and XmlNodeList.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈