다음을 통해 공유


VisualBasicCompilation.WithReferences 메서드

정의

오버로드

WithReferences(MetadataReference[])
WithReferences(IEnumerable<MetadataReference>)

지정된 참조를 사용하여 새 컴파일을 만듭니다.

WithReferences(MetadataReference[])

Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilation ^ WithReferences(... cli::array <Microsoft::CodeAnalysis::MetadataReference ^> ^ newReferences);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation WithReferences (params Microsoft.CodeAnalysis.MetadataReference[] newReferences);
override this.WithReferences : Microsoft.CodeAnalysis.MetadataReference[] -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation
Public Function WithReferences (ParamArray newReferences As MetadataReference()) As VisualBasicCompilation

매개 변수

newReferences
MetadataReference[]

반환

적용 대상

WithReferences(IEnumerable<MetadataReference>)

Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb

지정된 참조를 사용하여 새 컴파일을 만듭니다.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilation ^ WithReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ newReferences);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation WithReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> newReferences);
override this.WithReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilation
Public Function WithReferences (newReferences As IEnumerable(Of MetadataReference)) As VisualBasicCompilation

매개 변수

반환

설명

VisualBasicCompilation 항목은 필요한 즉시 기본 메타데이터에 대해 지정된 MetadataReference 데이터를 쿼리합니다.

새 컴파일은 현재 제공 중인 메타데이터를 MetadataReference사용합니다. 예를 들어 현재 컴파일이 컴파일을 만든 후 변경된 메타데이터 파일을 참조하는 경우 새 컴파일은 업데이트된 버전을 사용하지만 현재 컴파일은 이전 버전을 사용합니다(변경되지 않음).

적용 대상