共用方式為


ContentSerializerIgnoreAttribute Class

A custom Attribute that marks public fields or properties to prevent them from being serialized.

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

Syntax

[AttributeUsageAttribute(384)]
public sealed class ContentSerializerIgnoreAttribute : Attribute

See Also

Reference

ContentSerializerIgnoreAttribute Members
Microsoft.Xna.Framework.Content Namespace

Programming Guide

Content Pipeline

Platforms

Xbox 360, Windows XP SP2, Windows Vista