AppCapability.CreateWithProcessIdForUser(User, String, UInt32) 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.
Creates an AppCapability object for the specified process and user.
public:
static AppCapability ^ CreateWithProcessIdForUser(User ^ user, Platform::String ^ capabilityName, unsigned int pid);
static AppCapability CreateWithProcessIdForUser(User const& user, winrt::hstring const& capabilityName, uint32_t const& pid);
public static AppCapability CreateWithProcessIdForUser(User user, string capabilityName, uint pid);
function createWithProcessIdForUser(user, capabilityName, pid)
Public Shared Function CreateWithProcessIdForUser (user As User, capabilityName As String, pid As UInteger) As AppCapability
Parameters
- user
- User
The user property for which the object was created.
- capabilityName
-
String
Platform::String
winrt::hstring
The string property of CapabilityName.
- pid
-
UInt32
unsigned int
uint32_t
The Process ID.
Returns
Returns the created instance.