UnionHelper.

GetUnionEnumType(TypeInfo, string) Method

Summary

Gets the type of the union enum.

Syntax

public static Type GetUnionEnumType(TypeInfo type, string propertyName)

Parameters

Name Type Description
type TypeInfo The type.
propertyName string Name of the property.

Return Value

Type Description
Type