IppTextWithLanguage Class

Definition

Represents information about a textWithLanguage attribute as defined by the Internet Printing Protocol (IPP) specification.

public ref class IppTextWithLanguage sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Printers.IIppTextWithLanguageFactory, 851968, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IppTextWithLanguage final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Printers.IIppTextWithLanguageFactory), 851968, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IppTextWithLanguage
function IppTextWithLanguage(language, text)
Public NotInheritable Class IppTextWithLanguage
Inheritance
Object Platform::Object IInspectable IppTextWithLanguage
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Constructors

IppTextWithLanguage(String, String)

Creates a new instance of the IppTextWithLanguage class with the specified values. This object represents information about a textWithLanguage attribute as defined by the Internet Printing Protocol (IPP).

Properties

Language

Gets the code that specifies the language of the textWithLanguage attribute (as defined by the Internet Printing Protocol (IPP)) that is represented by the current IppTextWithLanguage object. The language code is defined by the RFC 5646 specification.

Value

Gets the text value of the textWithLanguage attribute (as defined by the Internet Printing Protocol (IPP)) that is represented by the current IppTextWithLanguage object.

Applies to

See also