ContentTypeSerializer Constructor (Type)
Note
This constructor is available only when developing for Windows.
Initializes a new instance of the ContentTypeSerializer class for serializing the specified type.
Syntax
'Declaration
Protected Sub New ( _
targetType As Type _
)
protected ContentTypeSerializer (
Type targetType
)
protected:
ContentTypeSerializer(
Type targetType
)
Parameters
- targetType
Type: Type
The target type.
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