Dela via


IppAttributeValue Class

Definition

Represents an attribute value as defined by the Internet Printing Protocol (IPP) specification. This class provides static methods you can use to create an IppAttributeValue object that represents an instance of the specified attribute name and has the specified value(s), and static methods you can use to get values you have created.

public ref class IppAttributeValue sealed
/// [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 IppAttributeValue final
[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 IppAttributeValue
Public NotInheritable Class IppAttributeValue
Inheritance
Object Platform::Object IInspectable IppAttributeValue
Attributes

Windows requirements

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

Remarks

For more information about this class, see Print support app design guide.

Properties

Kind

Gets a value that indicates the type of attribute that is represented by this IppAttributeValue object.

Methods

CreateBoolean(Boolean)

Creates an IppAttributeValue object that contains a boolean attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateBooleanArray(IIterable<Boolean>)

Creates an IppAttributeValue object that contains an array of boolean attributes with the specified values.

CreateCharset(String)

Creates an IppAttributeValue object that contains a charset attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateCharsetArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of charset attributes with the specified values.

CreateCollection(IIterable<KeyValuePair<String,IppAttributeValue>>)

Creates an IppAttributeValue object that contains a collection attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateCollectionArray(IIterable<IEnumerable<KeyValuePair<String,IppAttributeValue>>>)

Creates an IppAttributeValue object that contains an array of collection attributes with the specified values.

CreateDateTime(DateTime)

Creates an IppAttributeValue object that contains a dateTime attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateDateTimeArray(IIterable<DateTime>)

Creates an IppAttributeValue object that contains an array of dateTime attributes with the specified values.

CreateEnum(Int32)

Creates an IppAttributeValue object that contains an enum attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateEnumArray(IIterable<Int32>)

Creates an IppAttributeValue object that contains an array of enum attributes with the specified values.

CreateInteger(Int32)

Creates an IppAttributeValue object that contains an integer attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateIntegerArray(IIterable<Int32>)

Creates an IppAttributeValue object that contains an array of integer attributes with the specified values.

CreateKeyword(String)

Creates an IppAttributeValue object that contains a keyword attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateKeywordArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of keyword attributes with the specified values.

CreateMimeMedia(String)

Creates an IppAttributeValue object that contains a mimeMediaType attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateMimeMediaArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of mimeMediaType attributes with the specified values.

CreateNameWithLanguage(IppTextWithLanguage)

Creates an IppAttributeValue object that contains a createNameWithLanguage attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateNameWithLanguageArray(IIterable<IppTextWithLanguage>)

Creates an IppAttributeValue object that contains an array of createNameWithLanguage attributes with the specified values.

CreateNameWithoutLanguage(String)

Creates an IppAttributeValue object that contains a nameWithoutLanguage attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateNameWithoutLanguageArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of nameWithoutLanguage attributes with the specified values.

CreateNaturalLanguage(String)

Creates an IppAttributeValue object that contains a naturalLanguage attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateNaturalLanguageArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of naturalLanguage attributes with the specified values.

CreateNoValue()

Creates an IppAttributeValue object that represents a no-value attribute, as defined by the Internet Printing Protocol (IPP).

CreateOctetString(IBuffer)

Creates an IppAttributeValue object that contains a octetString attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateOctetStringArray(IIterable<IBuffer>)

Creates an IppAttributeValue object that contains an array of octetString attributes with the specified values.

CreateRangeOfInteger(IppIntegerRange)

Creates an IppAttributeValue object that contains a rangeOfInteger attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateRangeOfIntegerArray(IIterable<IppIntegerRange>)

Creates an IppAttributeValue object that contains an array of rangeOfInteger attributes with the specified values.

CreateResolution(IppResolution)

Creates an IppAttributeValue object that contains a resolution attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateResolutionArray(IIterable<IppResolution>)

Creates an IppAttributeValue object that contains an array of resolution attributes with the specified values.

CreateTextWithLanguage(IppTextWithLanguage)

Creates an IppAttributeValue object that contains a textWithLanguage attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateTextWithLanguageArray(IIterable<IppTextWithLanguage>)

Creates an IppAttributeValue object that contains an array of textWithLanguage attributes with the specified values.

CreateTextWithoutLanguage(String)

Creates an IppAttributeValue object that contains a textWithoutLanguage attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateTextWithoutLanguageArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of textWithoutLanguage attributes with the specified values.

CreateUnknown()

Creates an IppAttributeValue object that represents an unknown attribute, as defined by the Internet Printing Protocol (IPP).

CreateUnsupported()

Creates an IppAttributeValue object that represents an unsupported attribute, as defined by the Internet Printing Protocol (IPP).

CreateUri(Uri)

Creates an IppAttributeValue object that contains a uri attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateUriArray(IIterable<Uri>)

Creates an IppAttributeValue object that contains an array of uri attributes with the specified values.

CreateUriSchema(String)

Creates an IppAttributeValue object that contains a uriScheme attribute with the specified value, as defined by the Internet Printing Protocol (IPP).

CreateUriSchemaArray(IIterable<String>)

Creates an IppAttributeValue object that contains an array of uriScheme attributes with the specified values.

GetBooleanArray()

Gets the array of boolean attributes that are contained in the current IppAttributeValue object.

GetCharsetArray()

Gets the array of charset attributes that are contained in the current IppAttributeValue object.

GetCollectionArray()

Gets the array of collection attributes that are contained in the current IppAttributeValue object.

GetDateTimeArray()

Gets the array of dateTime attributes that are contained in the current IppAttributeValue object.

GetEnumArray()

Gets the array of enum attributes that are contained in the current IppAttributeValue object.

GetIntegerArray()

Gets the array of integer attributes that are contained in the current IppAttributeValue object.

GetKeywordArray()

Gets the array of keyword attributes that are contained in the current IppAttributeValue object.

GetMimeMediaTypeArray()

Gets the array of mimeMediaType attributes that are contained in the current IppAttributeValue object.

GetNameWithLanguageArray()

Gets the array of nameWithLanguage attributes that are contained in the current IppAttributeValue object.

GetNameWithoutLanguageArray()

Gets the array of nameWithoutLanguage attributes that are contained in the current IppAttributeValue object.

GetNaturalLanguageArray()

Gets the array of naturalLanguage attributes that are contained in the current IppAttributeValue object.

GetOctetStringArray()

Gets the array of octetString attributes that are contained in the current IppAttributeValue object.

GetRangeOfIntegerArray()

Gets the array of rangeOfInteger attributes that are contained in the current IppAttributeValue object.

GetResolutionArray()

Gets the array of resolution attributes that are contained in the current IppAttributeValue object.

GetTextWithLanguageArray()

Gets the array of textWithLanguage attributes that are contained in the current IppAttributeValue object.

GetTextWithoutLanguageArray()

Gets the array of textWithoutLanguage attributes that are contained in the current IppAttributeValue object.

GetUriArray()

Gets the array of uri attributes that are contained in the current IppAttributeValue object.

GetUriSchemaArray()

Gets the array of uriScheme attributes that are contained in the current IppAttributeValue object.

Applies to

See also