ShareWindowCommandSource.GetForCurrentView 方法

定义

一种静态方法,可用于获取 ShareWindowCommandSource 的实例。

重要

ShareWindowCommandSource.GetForCurrentView API 是受限访问功能的一部分, (请参阅 LimitedAccessFeatures 类) 。 有关详细信息或请求解锁令牌,请使用 LAF 访问令牌请求表单

public:
 static ShareWindowCommandSource ^ GetForCurrentView();
 static ShareWindowCommandSource GetForCurrentView();
public static ShareWindowCommandSource GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As ShareWindowCommandSource

返回

当前视图的 ShareWindowCommandSource 。 当前视图必须能够提供客户端应用程序的品牌图标和友好名称。

适用于

另请参阅