XmlDsigC14NTransform.LoadInput(Object) 方法

定义

将指定的输入加载到当前 XmlDsigC14NTransform 对象中。Loads the specified input into the current XmlDsigC14NTransform 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)

参数

obj
Object

要加载到当前 XmlDsigC14NTransform 对象中的输入。The input to load into the current XmlDsigC14NTransform object.

例外

obj 参数是一个 Stream 对象,并且为 nullThe obj parameter is a Stream object and it is null.

示例

下面的代码示例演示如何 LoadInput 使用指定的 XmlDocument 对象作为输入来调用方法。The following code example demonstrates how to call the LoadInput method using the specified XmlDocument object as the input. 此代码示例是为类提供的更大示例的一部分 XmlDsigC14NTransformThis code example is part of a larger example provided for the XmlDsigC14NTransform class.

xmlTransform->LoadInput( xmlDoc );
xmlTransform.LoadInput(xmlDoc);
xmlTransform.LoadInput(xmlDoc)

注解

输入对象的类型必须是属性中的类型之一 InputTypesThe type of the input object must be one of the types in the InputTypes property.

适用于