DisplayPrimaryDescription.CreateWithProperties 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的標準屬性以及額外的屬性,建立主要描述。
public:
static DisplayPrimaryDescription ^ CreateWithProperties(IIterable<IKeyValuePair<Platform::Guid, Platform::Object ^> ^> ^ extraProperties, unsigned int width, unsigned int height, DirectXPixelFormat pixelFormat, DirectXColorSpace colorSpace, bool isStereo, Direct3DMultisampleDescription multisampleDescription);
static DisplayPrimaryDescription CreateWithProperties(IIterable<IKeyValuePair<winrt::guid, IInspectable const&>> const& extraProperties, uint32_t const& width, uint32_t const& height, DirectXPixelFormat const& pixelFormat, DirectXColorSpace const& colorSpace, bool const& isStereo, Direct3DMultisampleDescription const& multisampleDescription);
public static DisplayPrimaryDescription CreateWithProperties(IEnumerable<KeyValuePair<Guid,object>> extraProperties, uint width, uint height, DirectXPixelFormat pixelFormat, DirectXColorSpace colorSpace, bool isStereo, Direct3DMultisampleDescription multisampleDescription);
function createWithProperties(extraProperties, width, height, pixelFormat, colorSpace, isStereo, multisampleDescription)
Public Shared Function CreateWithProperties (extraProperties As IEnumerable(Of KeyValuePair(Of Guid, Object)), width As UInteger, height As UInteger, pixelFormat As DirectXPixelFormat, colorSpace As DirectXColorSpace, isStereo As Boolean, multisampleDescription As Direct3DMultisampleDescription) As DisplayPrimaryDescription
參數
- extraProperties
-
IIterable<IKeyValuePair<Platform::Guid,Platform::Object>>
IIterable<IKeyValuePair<winrt::guid,IInspectable>>
保留供未來使用。
- width
-
UInt32
unsigned int
uint32_t
- height
-
UInt32
unsigned int
uint32_t
- pixelFormat
- DirectXPixelFormat
- colorSpace
- DirectXColorSpace
- isStereo
-
Boolean
bool
- multisampleDescription
- Direct3DMultisampleDescription