共用方式為


WebPart.SerializeAll property

取得是否應用於用戶端WPSC屬性集合中序列化擷取的屬性值。

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

Syntax

'宣告
Protected ReadOnly Property SerializeAll As Boolean
    Get
'用途
Dim value As Boolean

value = Me.SerializeAll
protected bool SerializeAll { get; }

Property value

Type: System.Boolean
true屬性會被傳回用於用戶端WPSC屬性集合 ; 如果否則,請false。

備註

SerializeAll屬性才有效內ShouldSerializePropertyName方法。

請參閱

參照

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace