Skip to content

SharedLocalizationInfo.For method

Gets the shared localization of a row type, or null when it doesn't have a SharedLocalizationAttribute.

public static SharedLocalizationInfo? For(Type? rowType)
parameter description
rowType The row type.

Exceptions

exception condition
InvalidProgramException The row type has the attribute, but it can't be localized this way, e.g. as its ID is not of a supported type.

See Also