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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.