Share via


PresentParameters.Clone() Method (Microsoft.DirectX.Direct3D)

Clones, or copies, a PresentParameters object.

Definition

Visual Basic Overrides Public Function Clone() As Object
C# public override object Clone();
C++ public:
virtual ObjectLeave SiteClone() override;
JScript public override function Clone() : ObjectLeave Site;

Return Value

System.Object
An ObjectLeave Site that represents the copied device.

Remarks

Exceptions

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.