Skip to content

ArchiveInfoTypeExtensions.ToDescription Method

Definition

Gets the human-readable description of the specified ArchiveInfoType.

public static string ToDescription(this ArchiveInfoType type);

View source

Parameters

Name Type Description
type ArchiveInfoType The archive info type.

Returns

String

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