VisualBasicCompilationOptions.WithMetadataImportOptions Method

Definition

Creates a new VisualBasicCompilationOptions instance with a specified MetadataImportOptions.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithMetadataImportOptions(Microsoft::CodeAnalysis::MetadataImportOptions value);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithMetadataImportOptions (Microsoft.CodeAnalysis.MetadataImportOptions value);
override this.WithMetadataImportOptions : Microsoft.CodeAnalysis.MetadataImportOptions -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithMetadataImportOptions (value As MetadataImportOptions) As VisualBasicCompilationOptions

Parameters

Returns

A new instance of VisualBasicCompilationOptions, if the value is different; otherwise the current instance.

Applies to