IppPrintDevice.ReplaceDeviceProperties 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.
Replaces the collection of properties associated with an Internet Printing Protocol (IPP) printer device.
public:
virtual ReplaceDevicePropertiesResult ^ ReplaceDeviceProperties(IIterable<IKeyValuePair<Platform::String ^, Platform::Object ^> ^> ^ deviceProperties) = ReplaceDeviceProperties;
/// [Windows.Foundation.Metadata.Experimental]
ReplaceDevicePropertiesResult ReplaceDeviceProperties(IIterable<IKeyValuePair<winrt::hstring, IInspectable const&>> const& deviceProperties);
[Windows.Foundation.Metadata.Experimental]
public ReplaceDevicePropertiesResult ReplaceDeviceProperties(IEnumerable<KeyValuePair<string,object>> deviceProperties);
function replaceDeviceProperties(deviceProperties)
Public Function ReplaceDeviceProperties (deviceProperties As IEnumerable(Of KeyValuePair(Of String, Object))) As ReplaceDevicePropertiesResult
Parameters
- deviceProperties
-
IIterable<IKeyValuePair<Platform::String,Platform::Object>>
IIterable<IKeyValuePair<winrt::hstring,IInspectable>>
An enumerable collection of key value pairs containing the new set of properties for the printer device.
Returns
A ReplaceDevicePropertiesResult object containing information about the result of the operation.
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|