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