Share via


AppCapability.Create(String) Method

Definition

Creates an AppCapability object.

public:
 static AppCapability ^ Create(Platform::String ^ capabilityName);
 static AppCapability Create(winrt::hstring const& capabilityName);
public static AppCapability Create(string capabilityName);
function create(capabilityName)
Public Shared Function Create (capabilityName As String) As AppCapability

Parameters

capabilityName
String

Platform::String

winrt::hstring

The string property of CapabilityName.

Returns

Returns the created instance.

Applies to