WebPartAuthorizationEventArgs.IsShared Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether a Web Parts control is visible to all users of a Web Parts page.
public:
property bool IsShared { bool get(); };
public bool IsShared { get; }
member this.IsShared : bool
Public ReadOnly Property IsShared As Boolean
Property Value
true
if the Web Parts control is visible to all users of the page; otherwise, false
.
Remarks
A shared Web Parts control is visible to all users of a Web page. The opposite of a shared control is a per-user control, which is user-specific and is visible only to the user who added that control to the page.
If a dynamic control is added while a user is viewing the page in shared personalization scope, the control will be shared. If the control is added while the user is in user personalization scope, the IsShared property value for that control will be false
.
For more information about shared and per-user controls, see Web Parts Personalization Overview.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應