ApplicationId(Byte[], String, Version, String, String) 构造函数

定义

初始化 ApplicationId 类的新实例。

public:
 ApplicationId(cli::array <System::Byte> ^ publicKeyToken, System::String ^ name, Version ^ version, System::String ^ processorArchitecture, System::String ^ culture);
public ApplicationId (byte[] publicKeyToken, string name, Version version, string? processorArchitecture, string? culture);
public ApplicationId (byte[] publicKeyToken, string name, Version version, string processorArchitecture, string culture);
new ApplicationId : byte[] * string * Version * string * string -> ApplicationId
Public Sub New (publicKeyToken As Byte(), name As String, version As Version, processorArchitecture As String, culture As String)

参数

publicKeyToken
Byte[]

表示原始公钥数据的字节数组。

name
String

应用程序的名称。

version
Version

Version 对象,用于指定应用程序的版本。

processorArchitecture
String

应用程序的处理器体系结构。

culture
String

应用程序的区域性。

例外

namenull

  • 或 -

version 上声明的默认值为 null

  • 或 -

publicKeyToken 上声明的默认值为 null

name 是一个空字符串。

注解

The constructor initializes the Culture, Name, ProcessorArchitecture, PublicKeyToken, and Version properties of the ApplicationId.

适用于