PosPrinterStatus クラス

定義

ポイント オブ サービス プリンターの状態 (プリンターの電源状態など) に関する情報を提供します。

public ref class PosPrinterStatus sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PosPrinterStatus final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PosPrinterStatus
Public NotInheritable Class PosPrinterStatus
継承
Object Platform::Object IInspectable PosPrinterStatus
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

PosPrinterStatus は、 PosPrinter.Status プロパティまたは PosPrinterStatusUpdatedEventArgs.Status プロパティを使用して取得できます。

プロパティ

ExtendedStatus

元の機器製造元 (OEM) が定義するサービスポイント プリンターの電源状態に関する拡張情報を取得します。 値は、 PosPrinterStatus.StatusKind プロパティが PosPrinterStatusKind.Extended の場合にのみ有効です。

StatusKind

サービスポイント プリンターの電源状態を取得します。

適用対象