Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This generic method is available only when developing for Windows.
Adds a shared reference to the output XML and records the object to be serialized later.
Syntax
'Declaration
Public Sub WriteSharedResource(Of T) ( _
value As T, _
format As ContentSerializerAttribute _
)
public void WriteSharedResource<T> (
T value,
ContentSerializerAttribute format
)
public:
generic<typename T>
void WriteSharedResource(
T value,
ContentSerializerAttribute format
)
Type Parameters
- T
The type of value to write.
Parameters
- value
Type: T
The value to write. - format
Type: ContentSerializerAttribute
The format of the XML.
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
IntermediateWriter Class
IntermediateWriter Members
Microsoft.Xna.Framework.Content.Pipeline.Serialization.Intermediate Namespace
Platforms
Windows 7, Windows Vista, Windows XP