Partilhar via


ITypeNameBuilder Interface

Provides methods for building a type name.

This interface supports the .NET Framework infrastructure and is not intended to be used directly from your code.

interface ITypeNameBuilder : IUnknown {

    HRESULT OpenGenericArguments();

    HRESULT CloseGenericArguments();

    HRESULT OpenGenericArgument();

    HRESULT CloseGenericArgument();

    HRESULT AddName(
        [in] LPCWSTR szName
    );
    HRESULT AddPointer();

    HRESULT AddByRef();

    HRESULT AddSzArray();

    HRESULT AddArray(
        [in] DWORD rank
    );
    HRESULT AddAssemblySpec(
        [in] LPCWSTR szAssemblySpec
    );
    HRESULT ToString(
        [out, retval] BSTR* pszStringRepresentation
    );
    HRESULT Clear();

};

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

Hosting Interfaces