CortanaActionableInsightsOptions.ContentSourceWebLink 属性

定义

标识指定文本或图像内容的来源的 URI。

public:
 property Uri ^ ContentSourceWebLink { Uri ^ get(); void set(Uri ^ value); };
Uri ContentSourceWebLink();

void ContentSourceWebLink(Uri value);
/// [get: Windows.Foundation.Metadata.Deprecated("CortanaActionableInsightsOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("CortanaActionableInsightsOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
Uri ContentSourceWebLink();

void ContentSourceWebLink(Uri value);
public System.Uri ContentSourceWebLink { get; set; }
public System.Uri ContentSourceWebLink { [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsightsOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsightsOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")] set; }
var uri = cortanaActionableInsightsOptions.contentSourceWebLink;
cortanaActionableInsightsOptions.contentSourceWebLink = uri;
Public Property ContentSourceWebLink As Uri

属性值

Web 链接地址。 此值可为 NULL。

属性

Windows 要求

应用功能
cortanaSurface

注解

CortanaActionableInsights 类要求将以下内容添加到 Package.appxmanifest:

  • 要 <打包>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • 在“功能”下<>
    • <rescap:capability name="cortanaSurface"/>

适用于