共用方式為


CompilationReference.WithAliases 方法

定義

多載

WithAliases(IEnumerable<String>)

傳回具有指定別名之參考的實例。

WithAliases(ImmutableArray<String>)

傳回具有指定別名之參考的實例。

WithAliases(IEnumerable<String>)

Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs

傳回具有指定別名之參考的實例。

public:
 Microsoft::CodeAnalysis::CompilationReference ^ WithAliases(System::Collections::Generic::IEnumerable<System::String ^> ^ aliases);
public Microsoft.CodeAnalysis.CompilationReference WithAliases (System.Collections.Generic.IEnumerable<string> aliases);
override this.WithAliases : seq<string> -> Microsoft.CodeAnalysis.CompilationReference
Public Function WithAliases (aliases As IEnumerable(Of String)) As CompilationReference

參數

aliases
IEnumerable<String>

參考的新別名。

傳回

例外狀況

別名對中繼資料種類無效。

適用於

WithAliases(ImmutableArray<String>)

Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs

傳回具有指定別名之參考的實例。

public:
 Microsoft::CodeAnalysis::CompilationReference ^ WithAliases(System::Collections::Immutable::ImmutableArray<System::String ^> aliases);
public Microsoft.CodeAnalysis.CompilationReference WithAliases (System.Collections.Immutable.ImmutableArray<string> aliases);
override this.WithAliases : System.Collections.Immutable.ImmutableArray<string> -> Microsoft.CodeAnalysis.CompilationReference
Public Function WithAliases (aliases As ImmutableArray(Of String)) As CompilationReference

參數

aliases
ImmutableArray<String>

參考的新別名。

傳回

例外狀況

別名對中繼資料種類無效。

適用於