Skip to content

ArchiveInfoTypeExtensions.ToDescription Method ​

Definition ​

Gets the human-readable description of the specified ArchiveInfoType.

c#
public static string ToDescription(this ArchiveInfoType type);

View source

Parameters ​

NameTypeDescription
typeArchiveInfoTypeThe archive info type.

Returns ​

String

The description from the DescriptionAttribute, or the enum name if no attribute is present.