Partager via


SwapChain.PresentParameters Property (Microsoft.DirectX.Direct3D)

Retrieves the presentation parameters associated with a swap chain.

Definition

Visual Basic Public ReadOnly Property PresentParameters As PresentParameters
C# public PresentParameters PresentParameters { get; }
C++ public:
property PresentParameters^ PresentParameters {
        PresentParameters^ get();
}
JScript public function get PresentParameters() : PresentParameters

Property Value

Microsoft.DirectX.Direct3D.PresentParameters
Presentation parameters. For more information, see PresentParameters.

This property is read-only. 

Remarks

This method can be used to view the presentation parameters of the parent swap chain of a surface (a back buffer, for instance). The parent swap chain can be retrieved with Surface.GetContainer.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.