MetadataType enum
Represents different types of metadata used by this package.
Constructors
- MetadataType(String assetName, String packageName)
-
Creates a MetadataType with the specified assetName and packageName.
const
- MetadataType.fromPackageName(String packageName)
-
Looks up a MetadataType by its
packageName
.factory
Values
- wdk → const MetadataType
-
Windows WDK metadata.
This metadata type is can be found in the package
Microsoft.Windows.WDK.Win32Metadata
onNuGet.org
.const MetadataType('Windows.Wdk.winmd', 'Microsoft.Windows.WDK.Win32Metadata')
- win32 → const MetadataType
-
Windows Win32 metadata.
This metadata type is can be found in the package
Microsoft.Windows.SDK.Win32Metadata
onNuGet.org
.const MetadataType('Windows.Win32.winmd', 'Microsoft.Windows.SDK.Win32Metadata')
- winrt → const MetadataType
-
Windows Runtime (WinRT) metadata.
This metadata type is can be found in the package
Microsoft.Windows.SDK.Contracts
onNuGet.org
.const MetadataType('Windows.winmd', 'Microsoft.Windows.SDK.Contracts')
Properties
- assetName → String
-
The name of the metadata asset (e.g.,
Windows.Win32.winmd
).final - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- packageName → String
-
The package name of the metadata at
NuGet.org
(e.g.,Microsoft.Windows.SDK.Win32Metadata
).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MetadataType> - A constant List of the values in this enum, in order of their declaration.