共用方式為


EmitOptions.WithDefaultSourceFileEncoding(Encoding) 方法

定義

public Microsoft.CodeAnalysis.Emit.EmitOptions WithDefaultSourceFileEncoding (System.Text.Encoding? defaultSourceFileEncoding);
member this.WithDefaultSourceFileEncoding : System.Text.Encoding -> Microsoft.CodeAnalysis.Emit.EmitOptions
Public Function WithDefaultSourceFileEncoding (defaultSourceFileEncoding As Encoding) As EmitOptions

參數

defaultSourceFileEncoding
Encoding

傳回

適用於