Sdílet prostřednictvím


IppPrintDevice.GetPrinterAttributesAsBuffer(IIterable<String>) Method

Definition

Gets attributes for the current printer as specified by a buffer that contains a printer attributes group from a serialized Internet Printing Protocol (IPP) response.

public:
 virtual IBuffer ^ GetPrinterAttributesAsBuffer(IIterable<Platform::String ^> ^ attributeNames) = GetPrinterAttributesAsBuffer;
IBuffer GetPrinterAttributesAsBuffer(IIterable<winrt::hstring> const& attributeNames);
public IBuffer GetPrinterAttributesAsBuffer(IEnumerable<string> attributeNames);
function getPrinterAttributesAsBuffer(attributeNames)
Public Function GetPrinterAttributesAsBuffer (attributeNames As IEnumerable(Of String)) As IBuffer

Parameters

attributeNames

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The names of the IPP attributes to retrieve.

Returns

A printer attributes group from a serialized Internet Printing Protocol (IPP) response.

Applies to