Sdílet prostřednictvím


ITypeName Interface

Provides methods for obtaining type name information.

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

interface ITypeName : IUnknown {

    HRESULT GetNameCount(
        [out, retval] DWORD* pCount
    );
    HRESULT GetNames(
        [in]  DWORD count,
        [out] BSTR* rgbszNames,
        [out, retval] DWORD* pCount
    );
    HRESULT GetTypeArgumentCount(
        [out, retval] DWORD* pCount
    );
    HRESULT GetTypeArguments(
        [in]  DWORD count, 
        [out] ITypeName** rgpArguments, 
        [out, retval] DWORD* pCount
    );
    HRESULT GetModifierLength(
        [out, retval] DWORD* pCount
    );
    HRESULT GetModifiers(
        [in]  DWORD count, 
        [out] DWORD* rgModifiers,
        [out, retval] DWORD* pCount
    );
    HRESULT GetAssemblyName(
        [out, retval] BSTR* rgbszAssemblyNames
    );
};

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Hosting Interfaces