C# Class System.Runtime.InteropServices.StructLayoutAttribute

Inheritance: Attribute
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
CharSet CharSet
Pack int
Size int

Public Methods

Method Description
StructLayoutAttribute ( LayoutKind layoutKind ) : System
StructLayoutAttribute ( short layoutKind ) : System

Private Methods

Method Description
GetCustomAttribute ( Type type ) : Attribute
IsDefined ( Type type ) : bool
StructLayoutAttribute ( LayoutKind layoutKind, int pack, int size, CharSet charSet ) : System

Method Details

StructLayoutAttribute() public method

public StructLayoutAttribute ( LayoutKind layoutKind ) : System
layoutKind LayoutKind
return System

StructLayoutAttribute() public method

public StructLayoutAttribute ( short layoutKind ) : System
layoutKind short
return System

Property Details

CharSet public property

public CharSet CharSet
return CharSet

Pack public property

public int Pack
return int

Size public property

public int Size
return int