This topic has not yet been rated - Rate this topic

ContentSerializerAttribute.SharedResource Property

Indicates whether this member is referenced from multiple parents and should be serialized as a unique ID reference (default=false).

Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public bool SharedResource { get; set; }

Property Value

true if this member is referenced from multiple parents; false otherwise.

ContentSerializerAttribute with SharedResource set true.

[ContentSerializerAttribute( SharedResource = true )]
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ