共用方式為


UICollectionViewLayoutInvalidationContext.InvalidateSupplementaryElements 方法

定義

將指定索引路徑中的增補檢視新增至不正確專案清單。

[Foundation.Export("invalidateSupplementaryElementsOfKind:atIndexPaths:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InvalidateSupplementaryElements (Foundation.NSString elementKind, Foundation.NSIndexPath[] indexPaths);
abstract member InvalidateSupplementaryElements : Foundation.NSString * Foundation.NSIndexPath[] -> unit
override this.InvalidateSupplementaryElements : Foundation.NSString * Foundation.NSIndexPath[] -> unit

參數

elementKind
NSString

字串,指出增補檢視的類型。

indexPaths
NSIndexPath[]

索引路徑物件的陣列。

屬性

備註

呼叫此專案,以識別版面配置中需要更新的特定增補檢視。

適用於