DataPackagePropertySet.ContentSourceWebLink 属性

定义

提供当前显示在应用中的共享内容的 Web 链接。

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

void ContentSourceWebLink(Uri value);
public System.Uri ContentSourceWebLink { get; set; }
var uri = dataPackagePropertySet.contentSourceWebLink;
dataPackagePropertySet.contentSourceWebLink = uri;
Public Property ContentSourceWebLink As Uri

属性值

统一资源标识符 (指向共享内容的 Web 链接的 URI) 。

注解

ContentSourceWebLink 是一个配套属性,用于对共享内容进行属性化。 当应用提供指向所共享内容的 Web 链接时,会共享该链接。 当用户进行显式选择时,不会填充 WebLink 格式,因为 WebLink 格式的值与用户选择的值不同。 填充此信息并不意味着网页是用户的选择,只是内容来自该网页。

适用于