FixedBufferAttribute Constructor (Type, Int32)

 

Initializes a new instance of the FixedBufferAttribute class.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public FixedBufferAttribute(
	Type elementType,
	int length
)

Parameters

elementType
Type: System.Type

The type of the elements contained in the buffer.

length
Type: System.Int32

The number of elements in the buffer.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: