共用方式為


IppPrintDevice.GetPrinterAttributesAsBuffer(IIterable<String>) 方法

定義

取得目前印表機的屬性,此緩衝區包含序列化網際網路列印通訊協定 (IPP) 回應的印表機屬性群組。

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

參數

attributeNames

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

要擷取的 IPP 屬性名稱。

傳回

來自序列化網際網路列印通訊協定 (IPP) 回應的印表機屬性群組。

適用於