MonobjcMonobjc Documented Class Library
InitWithLayer Method (layer)
NamespacesMonobjc.QuartzCoreCALayerInitWithLayer(Id)

Override to copy or initialize custom fields of the specified layer.

Original signature is '- (id)initWithLayer:(id)layer'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithLayer(
	Id layer
)
Public Overridable Function InitWithLayer ( _
	layer As Id _
) As Id
public:
virtual Id^ InitWithLayer(
	Id^ layer
)
Parameters
layer (Id)
The layer from which custom fields should be copied.
Return Value
A layer instance with any custom instance variables copied from layer.
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)