MaterialContent.GetReferenceTypeProperty Generic Method
Note
This generic method is available only when developing for Windows.
Gets a reference type from the OpaqueDataDictionary collection.
Syntax
'Declaration
Protected Function GetReferenceTypeProperty(Of T As Class) ( _
key As String _
) As T
protected T GetReferenceTypeProperty<T> (
string key
) where T : class
protected:
generic<typename T> where T : class
T GetReferenceTypeProperty(
String key
)
Type Parameters
- T
Type of the related opaque data.
Parameters
- key
Type: String
Key of the property being retrieved.
Return Value
Type: T
The related opaque data.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
MaterialContent Class
MaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP