EmitOptions.WithFileAlignment(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.