 | SpriteCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
Sprite derived class.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxprotected abstract Sprite CreateInstanceCore()
Protected MustOverride Function CreateInstanceCore As Sprite
protected:
virtual Sprite^ CreateInstanceCore() abstract
abstract CreateInstanceCore : unit -> Sprite
Return Value
Type:
SpriteThe new instance.
Remarks
Do not call this method directly (except when calling base in an implementation). This
method is called internally by the Clone method whenever a new instance of the
Sprite derived class must implement this method. A typical implementation is
to simply call the default constructor and return the result.
See Also