共用方式為


CompilationOptions.WithXmlReferenceResolver(XmlReferenceResolver) 方法

定義

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithXmlReferenceResolver(Microsoft::CodeAnalysis::XmlReferenceResolver ^ resolver);
public Microsoft.CodeAnalysis.CompilationOptions WithXmlReferenceResolver (Microsoft.CodeAnalysis.XmlReferenceResolver resolver);
public Microsoft.CodeAnalysis.CompilationOptions WithXmlReferenceResolver (Microsoft.CodeAnalysis.XmlReferenceResolver? resolver);
member this.WithXmlReferenceResolver : Microsoft.CodeAnalysis.XmlReferenceResolver -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithXmlReferenceResolver (resolver As XmlReferenceResolver) As CompilationOptions

參數

傳回

適用於