NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

20.1.21 The StructOffset attribute

The StructOffset attribute is used to specify the layout of fields for the struct.

[AttributeUsage(AttributeTargets.Field)]
public class StructOffsetAttribute: System.Attribute
{
   public StructOffsetAttribute(int offset) {…}
}

The StructOffset attribute may not be placed on a field declarations that is a member of a class.