PassedInXmlPropertyCollectionGetAsString Method Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Gets a property value as a String.

Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public string GetAsString(
	string propertyName,
	string defaultValue
)

Parameters

propertyName
Type: SystemString
Name of the property.
defaultValue
Type: SystemString
A value to return if the property does not exist.

Return Value

Type: String
the property value if the propertyName exists; otherwise, defaultValue.
See Also

Reference