IToolPaneControl.Text property
WebPartToolPart會載入,或設定值,在呼叫ApplyChanges()方法時,請從對應的網頁組件取得AuthorizationFilter屬性的值。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Property Text As String
Get
Set
'用途
Dim instance As IToolPaneControl
Dim value As String
value = instance.Text
instance.Text = value
string Text { get; set; }
Property value
Type: System.String
從對應的網頁組件會傳回AuthorizationFilter屬性的值。
備註
這個屬性是WebPartToolPart物件,其中包含 Web 控制項所代表的IToolPaneControl介面上。
AuthorizationFilter屬性用來指定自訂的 Web 組件的字串值,才能將它新增至 Web 網頁。