ShareWindowCommandSource.GetForCurrentView 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一种静态方法,可用于获取 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 。 当前视图必须能够提供客户端应用程序的品牌图标和友好名称。