M-Files Vault Application Framework
C#
Show/Hide TOC
Schema
Generator
Get
Enum
Label Method
Resolves a custom
JsonConfEditorAttribute
'Label' from an Enum.
Definition
Namespace:
MFiles.VAF.Configuration.JsonEditor
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
Copy
public
string
GetEnumLabel
(
Type
type
,
string
name
,
JsonConfEditorAttribute
attr
)
Parameters
type
Type
Enum Type
name
String
Enum numeric value.
attr
JsonConfEditorAttribute
JsonConfEditorAttribute
Return Value
String
Enum Name or Label.
See Also
Reference
SchemaGenerator Class
MFiles.VAF.Configuration.JsonEditor Namespace
In This Article
Definition
Parameters
Return Value
See Also