Get Content Group Async(String) Method
Provides information about the package content group such as its state, name, whether it is required, and so on.
public: virtual IAsyncOperation<PackageContentGroup ^> ^ GetContentGroupAsync(Platform::String ^ name) = GetContentGroupAsync;
IAsyncOperation<PackageContentGroup> GetContentGroupAsync(winrt::hstring const & name);
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<PackageContentGroup> GetContentGroupAsync(string name);
Public Function GetContentGroupAsync (name As String) As IAsyncOperation(Of PackageContentGroup)
The name of the content group to get.
A PackageContentGroup that contains information such as whether the content group is required, its state, the package associated with the content group, and so on. Returns Null if the named content group is not part of this package.
Windows 10 requirements
Windows 10 Creators Update (introduced in 10.0.15063.0)
Windows.Foundation.UniversalApiContract (introduced in v4.0)