ContentCompiler.GetTypeWriter Method
Note
This method is available only when developing for Windows.
Retrieves the worker writer for the specified type.
Syntax
'Declaration
Public Function GetTypeWriter ( _
type As Type _
) As ContentTypeWriter
public ContentTypeWriter GetTypeWriter (
Type type
)
public:
ContentTypeWriter GetTypeWriter(
Type type
)
Parameters
- type
Type: Type
The type.
Return Value
Type: ContentTypeWriter
The worker writer.
Remarks
This should be called from the ContentTypeWriter.Initialize method.
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
Initialize
ContentCompiler Class
ContentCompiler Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler Namespace
Platforms
Windows 7, Windows Vista, Windows XP