Add
Leave feedback
On this page
Adds the specified Type object to the set.
Throws ArgumentException in the following cases:
-
type is null.
-
type represents a void type.
-
type represents an invisible type, i.e. a non-public type or a public nested type which has a non-public outer type.
-
type represents a generic type.
-
type represents an array type.
-
type has been added to the set already.
public void Add(Type type)
| Parameter | Type | Description |
|---|---|---|
| type | Type | A Type object to add. |
- class KnownTypeSet
- namespace GroupDocs.Assembly
- assembly GroupDocs.Assembly
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.