Click or drag to resize
CoreExtensionsStaticPropertyPropertyType Method
Gets the static property of the given type

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

Parameters

type
Type: SystemType
Parent type
propertyName
Type: SystemString
Property name

Type Parameters

PropertyType

Return Value

Type: GenericPropertyPropertyType

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