EmitOptions.WithFileAlignment(Int32) Method

Definition

Sets the byte alignment for portable executable file sections.

public:
 Microsoft::CodeAnalysis::Emit::EmitOptions ^ WithFileAlignment(int value);
public Microsoft.CodeAnalysis.Emit.EmitOptions WithFileAlignment (int value);
member this.WithFileAlignment : int -> Microsoft.CodeAnalysis.Emit.EmitOptions
Public Function WithFileAlignment (value As Integer) As EmitOptions

Parameters

value
Int32

Can be one of the following values: 0, 512, 1024, 2048, 4096, 8192

Returns

Applies to