Gets the value of a property by the specified name and specified type TProperty.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public TProperty GetValue<TProperty>(
	string name
)

Parameters

name
Type: System..::.String
The name of the property to retrieve.

Type Parameters

TProperty
The type of the property value.

Return Value

The property value.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThrown when a property with the specified name or type could not be found.

See Also