DkmInstalledAppPackageInfo.Create 方法

定义

重载

Create(DkmAppPackageId, String, String, String, ReadOnlyCollection<DkmInstalledApplicationInfo>)

创建新的 DkmInstalledAppPackageInfo 对象实例。

Create(DkmAppPackageId, String, String, String, ReadOnlyCollection<DkmInstalledApplicationInfo>, String)

创建新的 DkmInstalledAppPackageInfo 对象实例。

         此 API 在 Visual Studio 14 Update 3 (VS14Update3) 中引入。

Create(DkmAppPackageId, String, String, String, ReadOnlyCollection<DkmInstalledApplicationInfo>)

创建新的 DkmInstalledAppPackageInfo 对象实例。

public:
 static Microsoft::VisualStudio::Debugger::DefaultPort::DkmInstalledAppPackageInfo ^ Create(Microsoft::VisualStudio::Debugger::DefaultPort::DkmAppPackageId ^ AppPackageId, System::String ^ DisplayName, System::String ^ Version, System::String ^ LogoPath, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::DefaultPort::DkmInstalledApplicationInfo ^> ^ Applications);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledAppPackageInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId AppPackageId, string DisplayName, string Version, string LogoPath, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledApplicationInfo> Applications);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId * string * string * string * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledApplicationInfo> -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledAppPackageInfo
Public Shared Function Create (AppPackageId As DkmAppPackageId, DisplayName As String, Version As String, LogoPath As String, Applications As ReadOnlyCollection(Of DkmInstalledApplicationInfo)) As DkmInstalledAppPackageInfo

参数

AppPackageId
DkmAppPackageId

中标识 Windows 应用商店应用包或 Windows Phone 应用程序包。

DisplayName
String

中应用包显示名称。

Version
String

中应用包版本。

LogoPath
String

[In,可选]应用包徽标路径。 对于 "远程",这将是远程系统上的路径。

Applications
ReadOnlyCollection<DkmInstalledApplicationInfo>

[In,可选]在应用包中找到的应用程序的数组。

返回

DkmInstalledAppPackageInfo

弄此方法调用的结果。

适用于

Create(DkmAppPackageId, String, String, String, ReadOnlyCollection<DkmInstalledApplicationInfo>, String)

创建新的 DkmInstalledAppPackageInfo 对象实例。

         此 API 在 Visual Studio 14 Update 3 (VS14Update3) 中引入。
public:
 static Microsoft::VisualStudio::Debugger::DefaultPort::DkmInstalledAppPackageInfo ^ Create(Microsoft::VisualStudio::Debugger::DefaultPort::DkmAppPackageId ^ AppPackageId, System::String ^ DisplayName, System::String ^ Version, System::String ^ LogoPath, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::DefaultPort::DkmInstalledApplicationInfo ^> ^ Applications, System::String ^ ProcessorArchitecture);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledAppPackageInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId AppPackageId, string DisplayName, string Version, string LogoPath, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledApplicationInfo> Applications, string ProcessorArchitecture);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmAppPackageId * string * string * string * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledApplicationInfo> * string -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmInstalledAppPackageInfo
Public Shared Function Create (AppPackageId As DkmAppPackageId, DisplayName As String, Version As String, LogoPath As String, Applications As ReadOnlyCollection(Of DkmInstalledApplicationInfo), ProcessorArchitecture As String) As DkmInstalledAppPackageInfo

参数

AppPackageId
DkmAppPackageId

中标识 Windows 应用商店应用包或 Windows Phone 应用程序包。

DisplayName
String

中应用包显示名称。

Version
String

中应用包版本。

LogoPath
String

[In,可选]应用包徽标路径。 对于 "远程",这将是远程系统上的路径。

Applications
ReadOnlyCollection<DkmInstalledApplicationInfo>

[In,可选]在应用包中找到的应用程序的数组。

ProcessorArchitecture
String

[In,可选]返回包体系结构。

返回

DkmInstalledAppPackageInfo

弄此方法调用的结果。

适用于