AsynchronousEventHandlerBaseGetExtendedPropertyValue Method (Type, 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 Object GetExtendedPropertyValue(
	Type type,
	string propertyName
)

Parameters

type
Type: SystemType
The type of data expected to be returned.
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.

Return Value

Type: Object
The property value
Exceptions

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

Reference