MetadataReference.WithAliases 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WithAliases(IEnumerable<String>) |
傳回具有指定別名之參考的實例。 |
WithAliases(ImmutableArray<String>) |
傳回具有指定別名之參考的實例。 |
WithAliases(IEnumerable<String>)
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
傳回具有指定別名之參考的實例。
public:
Microsoft::CodeAnalysis::MetadataReference ^ WithAliases(System::Collections::Generic::IEnumerable<System::String ^> ^ aliases);
public Microsoft.CodeAnalysis.MetadataReference WithAliases (System.Collections.Generic.IEnumerable<string> aliases);
member this.WithAliases : seq<string> -> Microsoft.CodeAnalysis.MetadataReference
Public Function WithAliases (aliases As IEnumerable(Of String)) As MetadataReference
參數
- aliases
- IEnumerable<String>
參考的新別名。
傳回
例外狀況
別名對中繼資料種類無效。
適用於
WithAliases(ImmutableArray<String>)
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
- Source:
- MetadataReference.cs
傳回具有指定別名之參考的實例。
public:
Microsoft::CodeAnalysis::MetadataReference ^ WithAliases(System::Collections::Immutable::ImmutableArray<System::String ^> aliases);
public Microsoft.CodeAnalysis.MetadataReference WithAliases (System.Collections.Immutable.ImmutableArray<string> aliases);
member this.WithAliases : System.Collections.Immutable.ImmutableArray<string> -> Microsoft.CodeAnalysis.MetadataReference
Public Function WithAliases (aliases As ImmutableArray(Of String)) As MetadataReference
參數
- aliases
- ImmutableArray<String>
參考的新別名。
傳回
例外狀況
別名對中繼資料種類無效。