ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
HostTypeCollection Class
HostTypeCollection Methods
AddType Method
AddType(Type) Method
AddType(String, Type[]) Method
AddType(String, String, Type[]) Method

# HostTypeCollectionAddType(Type) Method

Adds a type to a host type collection.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public void AddType(
    	Type type
    )

    Public Sub AddType (
    	type As Type
    )

    public:
    void AddType(
    	Type^ type
    )

    member AddType :
            type : Type -> unit

#### Parameters

type Type
  The type to add.

See Also

#### Reference

HostTypeCollection Class
AddType Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft