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 conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.