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>
引用的新别名。
返回
例外
别名对于元数据类型无效。