Windows Dev Center

TypeKind enumeration

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

Syntax


public enum TypeKind

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The TypeKind enumeration has these members.

MemberValueDescription
Primitive0

The type is a language-level primitive.

Metadata1

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

Custom2

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

Remarks

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.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Interop
Windows::UI::Xaml::Interop [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Interop
Windows::UI::Xaml::Interop [C++]

Metadata

Windows.winmd

See also

System.Type
Type system (C++/CX)

 

 

Show:
© 2015 Microsoft