Table of Contents

Class MetadataQueryReader

Namespace
SharpDX.WIC
Assembly
SharpDX.Direct2D1.dll
[Guid("30989668-E1C9-4597-B395-458EEDB808DF")]
public class MetadataQueryReader : ComObject
Inheritance
MetadataQueryReader
Derived

Constructors

MetadataQueryReader(nint)

public MetadataQueryReader(nint nativePtr)

Parameters

nativePtr nint

Properties

ContainerFormat

Gets the metadata query readers container format.

public Guid ContainerFormat { get; }

Property Value

Guid

Enumerator

Gets the enumerator on the metadata names.

public IEnumerable<string> Enumerator { get; }

Property Value

IEnumerable<string>

Location

Gets the location.

public string Location { get; }

Property Value

string

QueryPaths

public IEnumerable<string> QueryPaths { get; }

Property Value

IEnumerable<string>

Methods

Dump(TextWriter, int)

Dumps all metadata.

public void Dump(TextWriter writer, int level = 0)

Parameters

writer TextWriter

The text writer output.

level int

The level of tabulations.

Remarks

This is a simple helper method to dump metadata stored in this instance.

GetMetadataByName(string)

Gets the metadata value by name.

public object GetMetadataByName(string name)

Parameters

name string

The name.

Returns

object

Value of the metadata

TryGetMetadataByName(string)

Try to get the metadata value by name.

public object TryGetMetadataByName(string name)

Parameters

name string

The name.

Returns

object

the metadata value, or null if the metadata was not found

TryGetMetadataByName(string, out object)

Try to get the metadata value by name.

public Result TryGetMetadataByName(string name, out object value)

Parameters

name string

The name.

value object

The metadata value, or null if the metadata was not found or an error occurred

Returns

Result

The WIC error code

Operators

explicit operator MetadataQueryReader(nint)

public static explicit operator MetadataQueryReader(nint nativePtr)

Parameters

nativePtr nint

Returns

MetadataQueryReader