Click or drag to resize
ImageVariantDefinitionManagerGetDefinition Method
Returns an image variant definition by identifier.

Namespace: CMS.ResponsiveImages
Assembly: CMS.ResponsiveImages (in CMS.ResponsiveImages.dll) Version: 11.0.0
Syntax
C#
public static IImageVariantDefinition GetDefinition(
	string identifier
)

Parameters

identifier
Type: SystemString
Definition identifier.

Return Value

Type: IImageVariantDefinition
Image variant definition or null when definition with the given name does not exists.
See Also