Add
KnownTypeSet.Add method
Aggiunge quanto specificatoType oggetto dell’insieme. LanciaArgumentException in i seguenti casi:
-type Ènullo
.
-type rappresenta un tipo vuoto.
-type rappresenta un tipo invisibile, ovvero un tipo non pubblico o un tipo annidato pubblico che ha un tipo esterno non pubblico.
-type rappresenta un tipo generico.
-type rappresenta un tipo di array.
-type è già stato aggiunto al set.
public void Add(Type type)
Parametro | Tipo | Descrizione |
---|---|---|
type | Type | UNType oggetto da aggiungere. |
Guarda anche
- class KnownTypeSet
- spazio dei nomi Aspose.Words.Reporting
- assemblea Aspose.Words