AsynchronousEventHandlerBaseGetExtendedPropertyValueT Method (String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets the extended property value as a specific data type.

Namespace: ContentStudio.EventActions.AsynchronousEventHandlers
Assembly: AsynchronousEventHandlers (in AsynchronousEventHandlers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

protected T GetExtendedPropertyValue<T>(
	string propertyName
)

Parameters

propertyName
Type: SystemString
The name of the property to return. This name cannot be null or empty and is not case sensitive but must exist in the extended property collection.

Type Parameters

T
The type of data expected to be returned.

Return Value

Type: T
The value
Exceptions

ExceptionCondition
ArgumentNullExceptionThe propertyName cannot be null
ArgumentExceptionThe propertyName cannot be empty
InvalidOperationExceptionProperty not found
InvalidCastException
OverflowException
Remarks

Not all events supply extended properties
See Also

Reference