Share via


DataMemberConstructorAttribute Class

Microsoft Robotics Class Reference

Use with [DataContract] to cause an initializer constructor to be created for every [DataMember] Use with [DataMember] to control the order of each parameter.

Remarks

Order not supplied = class creation order

Remarks

Order 0 = class creation order

Remarks

Order -1 = Exclude

Namespace: Microsoft.Dss.Core.Attributes
Assembly: Microsoft.Dss.Base (in Microsoft.Dss.Base.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Property|AttributeTargets.Field, Inherited = true, 
    AllowMultiple = false)]
public sealed class DataMemberConstructorAttribute : Attribute

Inheritance Hierarchy

System. . :: . .Object
  System. . :: . .Attribute
    Microsoft.Dss.Core.Attributes..::..DataMemberConstructorAttribute

See Also

DataMemberConstructorAttribute Members

Microsoft.Dss.Core.Attributes Namespace