本文整理匯總了VB.NET中System.Web.UI.WebControls.WebParts.WebPartPersonalization.CanEnterSharedScope屬性的典型用法代碼示例。如果您正苦於以下問題:VB.NET WebPartPersonalization.CanEnterSharedScope屬性的具體用法?VB.NET WebPartPersonalization.CanEnterSharedScope怎麽用?VB.NET WebPartPersonalization.CanEnterSharedScope使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。
在下文中一共展示了WebPartPersonalization.CanEnterSharedScope屬性的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的VB.NET代碼示例。
示例1:
' Allows authorized user to change personalization scope.
Protected Sub Toggle_Scope_Button_Click(ByVal sender As Object, ByVal e As EventArgs)
If _manager.Personalization.CanEnterSharedScope Then
_manager.Personalization.ToggleScope()
End If
End Sub 'Toggle_Scope_Button_Click
開發者ID:VB.NET開發者,項目名稱:System.Web.UI.WebControls.WebParts,代碼行數:7,代碼來源:WebPartPersonalization.CanEnterSharedScope