Class BsonIgnoreAttribute

| MongoDB CSharp Driver API Reference (original) (raw)

Indicates that this field or property should be ignored when this class is serialized.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class BsonIgnoreAttribute : Attribute