SchemaImporterExtensionCollection.Add 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.
Adds the specified importer extension to the collection.
Overloads
Add(SchemaImporterExtension) |
Adds the specified importer extension to the collection. |
Add(String, Type) |
Adds the specified importer extension to the collection. The name parameter allows you to supply a custom name for the extension. |
Add(SchemaImporterExtension)
Adds the specified importer extension to the collection.
public:
int Add(System::Xml::Serialization::Advanced::SchemaImporterExtension ^ extension);
public int Add (System.Xml.Serialization.Advanced.SchemaImporterExtension extension);
member this.Add : System.Xml.Serialization.Advanced.SchemaImporterExtension -> int
Public Function Add (extension As SchemaImporterExtension) As Integer
Parameters
- extension
- SchemaImporterExtension
The SchemaImporterExtensionCollection to add.
Returns
The index of the added extension.
Applies to
Add(String, Type)
Adds the specified importer extension to the collection. The name parameter allows you to supply a custom name for the extension.
public:
int Add(System::String ^ name, Type ^ type);
public int Add (string name, Type type);
member this.Add : string * Type -> int
Public Function Add (name As String, type As Type) As Integer
Parameters
- name
- String
A custom name for the extension.
- type
- Type
The SchemaImporterExtensionCollection to add.
Returns
The index of the newly added item.
Exceptions
The value of type does not inherit from SchemaImporterExtensionCollection.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기