共用方式為


WebPart.MissingAssembly property

NOTE: This API is now obsolete.

取得或設定匯入網頁組件,如果目標伺服器上未安裝組件] 網頁組件時,對使用者顯示的訊息。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<ObsoleteAttribute("Use ImportErrorMessage instead.")> _
<WebPartStorageAttribute(Storage.Shared)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property MissingAssembly As String
    Get
    Set
'用途
Dim instance As WebPart
Dim value As String

value = instance.MissingAssembly

instance.MissingAssembly = value
[ObsoleteAttribute("Use ImportErrorMessage instead.")]
[WebPartStorageAttribute(Storage.Shared)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string MissingAssembly { get; set; }

Property value

Type: System.String
這是網頁組件遺失時,對使用者顯示的訊息。如果未指定此屬性,則系統預設會顯示訊息。

請參閱

參照

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace