SchemaImporterExtensionCollection::Add Method (String^, Type^)
.NET Framework (current version)
Adds the specified importer extension to the collection. The name parameter allows you to supply a custom name for the extension.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- name
-
Type:
System::String^
A custom name for the extension.
- type
-
Type:
System::Type^
The SchemaImporterExtensionCollection to add.
| Exception | Condition |
|---|---|
| ArgumentException | The value of type does not inherit from SchemaImporterExtensionCollection. |
.NET Framework
Available since 2.0
Available since 2.0
Show: