共用方式為


TargetedContentContainer.GetAsync(String) 方法

定義

會傳回指定 ContentId 的 TargetedContentContainer 物件。

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)

參數

contentId
String

Platform::String

winrt::hstring

傳回

屬性

Windows 需求

應用程式功能
secondaryAuthenticationFactor

適用於