Class XmpPdfAPropertyCategoryMappingExtensions
Mapping methods for the FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory enumeration.
Assembly: FacturXDotNet.dll
csharp
public static class XmpPdfAPropertyCategoryMappingExtensions
Methods
ToXmpPdfAPropertyCategoryString(XmpPdfAPropertyCategory)
Convert the FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory to its string representation.
csharp
public static string ToXmpPdfAPropertyCategoryString(this XmpPdfAPropertyCategory category)
Returns
System.String
Parameters
Type | Name |
---|---|
FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory | category |
ToXmpPdfAPropertyCategoryOrNull(ReadOnlySpan<char>)
Convert the string to its FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory representation.
csharp
public static XmpPdfAPropertyCategory? ToXmpPdfAPropertyCategoryOrNull(this ReadOnlySpan<char> value)
Returns
System.Nullable<FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory>
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<System.Char> | value |
ToXmpPdfAPropertyCategory(ReadOnlySpan<char>)
Convert the string to its FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory representation.
csharp
public static XmpPdfAPropertyCategory ToXmpPdfAPropertyCategory(this ReadOnlySpan<char> value)
Returns
FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<System.Char> | value |
Exceptions
System.ArgumentOutOfRangeException
Thrown when the value is not a valid FacturXDotNet.Models.XMP.XmpPdfAPropertyCategory.