Udostępnij za pośrednictwem


HexBinaryValue Class

Definition

Represent the xsd:hexBinary value for attributes.

public class HexBinaryValue : DocumentFormat.OpenXml.StringValue
public class HexBinaryValue : DocumentFormat.OpenXml.OpenXmlSimpleType
public class HexBinaryValue : DocumentFormat.OpenXml.OpenXmlComparableSimpleReference<string>
type HexBinaryValue = class
    inherit StringValue
type HexBinaryValue = class
    inherit OpenXmlSimpleType
type HexBinaryValue = class
    inherit OpenXmlComparableSimpleReference<string>
Public Class HexBinaryValue
Inherits StringValue
Public Class HexBinaryValue
Inherits OpenXmlSimpleType
Public Class HexBinaryValue
Inherits OpenXmlComparableSimpleReference(Of String)
Inheritance
Inheritance
HexBinaryValue
Inheritance

Constructors

HexBinaryValue()

Initializes a new instance of the HexBinaryValue class.

HexBinaryValue(HexBinaryValue)

Initializes a new instance of the HexBinaryValue class by deep copying the supplied HexBinaryValue class.

HexBinaryValue(String)

Initializes a new instance of the HexBinaryValue class using the supplied string.

Properties

HasValue

Gets a value indicating whether the underneath text value is a valid value.

(Inherited from OpenXmlSimpleType)
InnerText

Gets or sets the inner XML text.

(Inherited from OpenXmlSimpleType)
TextValue
Obsolete.

Gets or sets the internal raw text value. DO NOT use this property. Only for OpenXmlSimpleType.cs internal use.

(Inherited from OpenXmlSimpleType)
Value

Gets or sets the hex binary value

Methods

Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
CompareTo(Object) (Inherited from OpenXmlComparableSimpleReference<T>)
CompareTo(OpenXmlComparableSimpleReference<T>) (Inherited from OpenXmlComparableSimpleReference<T>)
Create(Byte[])

Returns a new HexBinaryValue object that was created from bytes.

Equals(Object) (Inherited from OpenXmlComparableSimpleReference<T>)
Equals(OpenXmlComparableSimpleReference<T>) (Inherited from OpenXmlComparableSimpleReference<T>)
FromString(String)

Returns a new HexBinaryValue object that was created from a String value.

GetHashCode() (Inherited from OpenXmlComparableSimpleReference<T>)
ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)
ToString(HexBinaryValue)

Returns the String value representation of a HexBinaryValue object.

TryGetBytes(Byte[])

Attempts to retrieve the bytes associated with this HexBinaryValue if available.

Operators

Implicit(HexBinaryValue to String)

Implicitly converts the specified value to a String value.

Implicit(String to HexBinaryValue)

Implicitly converts the specified String value to a HexBinaryValue object.

Applies to