Redigera

Dela via


XmlDsigXPathTransform.LoadInput(Object) Method

Definition

Loads the specified input into the current XmlDsigXPathTransform 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 XmlDsigXPathTransform 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 XmlDsigXPathTransform class.

xmlTransform.LoadInput(xmlDoc);
xmlTransform.LoadInput(xmlDoc)

Remarks

Use the LoadInput method to initialize an XmlDsigXPathTransform object to the value of an XPath transform using an Stream, XmlDocument, or XmlNodeList object. For information about initializing an XmlDsigXPathTransform object using an XPath transform string, see the LoadInnerXml method.

The type of the input object must be one of the types in the InputTypes property.

Applies to