ContentTypeSerializer Constructor (Type, String)
Note
This constructor is available only when developing for Windows.
Initializes a new instance of the ContentTypeSerializer class for serializing the specified type using the specified XML shortcut name.
Syntax
'Declaration
Protected Sub New ( _
targetType As Type, _
xmlTypeName As String _
)
protected ContentTypeSerializer (
Type targetType,
string xmlTypeName
)
protected:
ContentTypeSerializer(
Type targetType,
String xmlTypeName
)
Parameters
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | targetType is null. |
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
ContentTypeSerializer Class
ContentTypeSerializer Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace
Platforms
Windows 7, Windows Vista, Windows XP