public void AddType(
Type type,
params AssemblyName[] assemblyIdentities
)Public Sub AddType (
type As Type,
ParamArray assemblyIdentities As AssemblyName()
)public:
void AddType(
Type^ type,
... array<AssemblyName^>^ assemblyIdentities
)member AddType :
type : Type *
assemblyIdentities : AssemblyName[] -> unit If no assembly identities are specified, then any Type that has the same full name as type, will be resolved to the specified type.
If at least one assembly identity is specified and WriteLegacyIdentity is , then on serialization the first specified name will be returned as the assembly name of the type.
For generic types you should specify the generic type definition only.