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

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

Sets the value of the specified property. If the property exists it will be updated otherwise, a new property with this name and value will be added.

Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void SetProperty(
	string name,
	string value
)

Parameters

name
Type: SystemString
The name of the property to set. A property name must meet the requirements defined by the IsValidPropertyName(String) method.
value
Type: SystemString
The value. This parameter cannot be null (Nothing in Visual Basic).
Exceptions

ExceptionCondition
ArgumentNullExceptionname or value cannot be null
ArgumentExceptionThe name cannot be empty.
ArgumentOutOfRangeExceptionThe name is not valid.
See Also

Reference