UtilitiesValidEnumT Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Checks if the specified value is a valid enum

Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static bool ValidEnum<T>(
	T value
)

Parameters

value
Type: T
The value to check

Type Parameters

T
The type of enum to check against

Return Value

Type: Boolean
true if valid; otherwise, false
See Also

Reference