D3DImage.CreateInstanceCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, creates a new instance of the D3DImage derived class.
protected:
override System::Windows::Freezable ^ CreateInstanceCore();
protected override System.Windows.Freezable CreateInstanceCore ();
override this.CreateInstanceCore : unit -> System.Windows.Freezable
Protected Overrides Function CreateInstanceCore () As Freezable
Returns
The new instance.
Remarks
If you derive from the D3DImage class, you must override the CreateInstanceCore method to enable correct cloning. The default implementation performs a return new D3DImage()
, which will not be correct if the instance is a different class.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.