Click or drag to resize
CoreExtensionsGetListItemExtensionType Method
Gets the list item for the given type

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static GenericProperty<ExtensionType> GetListItem<ExtensionType>(
	this Type type,
	string itemName
)

Parameters

type
Type: SystemType
Parent type
itemName
Type: SystemString
Item name

Type Parameters

ExtensionType

Return Value

Type: GenericPropertyExtensionType

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also