語言

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 物件。

傳回

true若 必須ColumnCollection序列化;否則 。 false

適用於