Share via


GridView.ShouldSerializeColumnCollection(DependencyObject) 方法

定義

決定是否要序列化 ColumnCollection 附加屬性。

public:
 static bool ShouldSerializeColumnCollection(System::Windows::DependencyObject ^ obj);
public static bool ShouldSerializeColumnCollection (System.Windows.DependencyObject obj);
static member ShouldSerializeColumnCollection : System.Windows.DependencyObject -> bool
Public Shared Function ShouldSerializeColumnCollection (obj As DependencyObject) As Boolean

參數

obj
DependencyObject

設定 ColumnCollection 的物件。

傳回

Boolean

如果必須序列化 ColumnCollection,則為 true;否則為 false

適用於