EnumerationFromDisplayNameT Method |
Returns object by display name.
Namespace: GroupDocs.Conversion.ContractsAssembly: GroupDocs.Conversion (in GroupDocs.Conversion.dll) Version: 21.2.0.0 (21.2)
Syntaxpublic static T FromDisplayName<T>(
string displayName
)
where T : new(), Enumeration
Public Shared Function FromDisplayName(Of T As {New, Enumeration}) (
displayName As String
) As T
public:
generic<typename T>
where T : gcnew(), Enumeration
static T FromDisplayName(
String^ displayName
)
static member FromDisplayName :
displayName : string -> 'T when 'T : new() and Enumeration
Parameters
- displayName
- Type: SystemString
The display name
Type Parameters
- T
Return Value
Type:
TThe object
See Also