TypeKind TypeKind TypeKind TypeKind Enum


Provides basic guidance about the origin of a type. Used as a value by TypeName.

public : enum class TypeKind
enum class winrt::Windows::UI::Xaml::Interop::TypeKind : int32_t
public enum TypeKind
Public Enum TypeKind

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Custom Custom Custom Custom 2

The type is a custom type declared by means other than WinMD.

Metadata Metadata Metadata Metadata 1

The type is declared through WinMD (Windows Runtime metadata).

Primitive Primitive Primitive Primitive 0

The type is a language-level primitive.


This enumeration is not relevant to type system information as reported to .NET code. Any value that reports type information from a Windows Runtime API being called by C# or Microsoft Visual Basic code is projected to System.Type.

See also