Share via


TargetedContentContainer.GetAsync(String) Method

Definition

Returns a TargetedContentContainer object for specified ContentId.

public:
 static IAsyncOperation<TargetedContentContainer ^> ^ GetAsync(Platform::String ^ contentId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<TargetedContentContainer> GetAsync(winrt::hstring const& contentId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<TargetedContentContainer> GetAsync(string contentId);
function getAsync(contentId)
Public Shared Function GetAsync (contentId As String) As IAsyncOperation(Of TargetedContentContainer)

Parameters

contentId
String

Platform::String

winrt::hstring

Returns

Attributes

Windows requirements

App capabilities
secondaryAuthenticationFactor

Applies to