[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class StructLayoutAttribute: System.Attribute {
public StructLayoutAttribute(LayoutKind value) {...}
public CharSet CharSet;
public bool CheckFastMarshal;
public int Pack; public LayoutKind Value { get {...} }
}
public enum LayoutKind {
Auto = 3,
Explicit = 2,
Sequential = 0
}
Previous slide | Next slide | Back to first slide | View graphic version |