MonobjcMonobjc Documented Class Library
InsertSublayerAtIndex Method (aLayer, index)
NamespacesMonobjc.QuartzCoreCALayerInsertSublayerAtIndex(CALayer, UInt32)

Inserts the layer as a sublayer of the receiver at the specified index.

Original signature is '- (void)insertSublayer:(CALayer *)aLayer atIndex:(unsigned)index'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertSublayerAtIndex(
	CALayer aLayer,
	uint index
)
Public Overridable Sub InsertSublayerAtIndex ( _
	aLayer As CALayer, _
	index As UInteger _
)
public:
virtual void InsertSublayerAtIndex(
	CALayer^ aLayer, 
	unsigned int index
)
Parameters
aLayer (CALayer)
The layer to be inserted to the receiver’s sublayer array.
index (UInt32)
The index in the receiver at which to insert aLayer. This value must not be greater than the count of elements in the sublayer array.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)