Table of Contents

Class OpaqueDataDictionary

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll
[ContentSerializerCollectionItemName("Data")]
public sealed class OpaqueDataDictionary : NamedValueDictionary<object>, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Inheritance
OpaqueDataDictionary
Implements
Inherited Members

Methods

GetValue<T>(string, T)

Get the value for the specified key

public T GetValue<T>(string key, T defaultValue)

Parameters

key string
defaultValue T

Returns

T

The item cast as T, or the default value if the item is not present in the dictonary.

Type Parameters

T