MetadataReferenceProperties.WithAliases Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithAliases(IEnumerable<String>) |
Returns MetadataReferenceProperties with specified aliases. |
WithAliases(ImmutableArray<String>) |
Returns MetadataReferenceProperties with specified aliases. |
WithAliases(IEnumerable<String>)
Returns MetadataReferenceProperties with specified aliases.
public:
Microsoft::CodeAnalysis::MetadataReferenceProperties WithAliases(System::Collections::Generic::IEnumerable<System::String ^> ^ aliases);
public Microsoft.CodeAnalysis.MetadataReferenceProperties WithAliases (System.Collections.Generic.IEnumerable<string> aliases);
member this.WithAliases : seq<string> -> Microsoft.CodeAnalysis.MetadataReferenceProperties
Public Function WithAliases (aliases As IEnumerable(Of String)) As MetadataReferenceProperties
Parameters
- aliases
- IEnumerable<String>
Returns
Exceptions
Applies to
WithAliases(ImmutableArray<String>)
Returns MetadataReferenceProperties with specified aliases.
public:
Microsoft::CodeAnalysis::MetadataReferenceProperties WithAliases(System::Collections::Immutable::ImmutableArray<System::String ^> aliases);
public Microsoft.CodeAnalysis.MetadataReferenceProperties WithAliases (System.Collections.Immutable.ImmutableArray<string> aliases);
member this.WithAliases : System.Collections.Immutable.ImmutableArray<string> -> Microsoft.CodeAnalysis.MetadataReferenceProperties
Public Function WithAliases (aliases As ImmutableArray(Of String)) As MetadataReferenceProperties
Parameters
- aliases
- ImmutableArray<String>
Returns
Exceptions
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.