DocumentEncodingSave Method (ConnectionId, SessionId, Int32, CSFileObjectTypes, String, CSApplyLevels) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Saves a new encoding for an object.

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

public void Save(
	ConnectionId connectionId,
	SessionId sessionId,
	int objectId,
	CSFileObjectTypes objectType,
	string newValue,
	CSApplyLevels applyLevel
)

Parameters

connectionId
Type: ContentStudioConnectionId
A value that identifies the web site
sessionId
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
objectId
Type: SystemInt32
The ID of the object to save the encoding for
objectType
Type: ContentStudio.DocumentCSFileObjectTypes
Type of file object to save encoding for
newValue
Type: SystemString
The new encoding to set. This must be one of the valid encodings.
applyLevel
Type: ContentStudio.DocumentCSApplyLevels
A combination of CSApplyLevel flag values that indicates how the new value should be applied.
See Also

Reference