'宣言 Public Property Direction As ScriptEnumValue(Of SortDirection)
'使用法 Dim instance As SortDefinition Dim value As ScriptEnumValue(Of SortDirection) instance.Direction = value value = instance.Direction
public ScriptEnumValue<SortDirection> Direction {get; set;}