AssemblyNameInfo Constructor
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.
Initializes a new instance of the AssemblyNameInfo class.
public AssemblyNameInfo (string name, Version? version = default, string? cultureName = default, System.Reflection.AssemblyNameFlags flags = System.Reflection.AssemblyNameFlags.None, System.Collections.Immutable.ImmutableArray<byte> publicKeyOrToken = default);
new System.Reflection.Metadata.AssemblyNameInfo : string * Version * string * System.Reflection.AssemblyNameFlags * System.Collections.Immutable.ImmutableArray<byte> -> System.Reflection.Metadata.AssemblyNameInfo
Public Sub New (name As String, Optional version As Version = Nothing, Optional cultureName As String = Nothing, Optional flags As AssemblyNameFlags = System.Reflection.AssemblyNameFlags.None, Optional publicKeyOrToken As ImmutableArray(Of Byte) = Nothing)
Parameters
- name
- String
The simple name of the assembly.
- version
- Version
The version of the assembly.
- cultureName
- String
The name of the culture associated with the assembly.
- flags
- AssemblyNameFlags
The attributes of the assembly.
- publicKeyOrToken
- ImmutableArray<Byte>
The public key or its token. Set flags
to PublicKey when it's public key.
Exceptions
name
is null
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.