DocumentEncodingGetForObject Method (ConnectionId, SessionId, Int32, CSFileObjectTypes) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Returns the encoding for a certain file system object.

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

public string GetForObject(
	ConnectionId connectionId,
	SessionId sessionId,
	int objectId,
	CSFileObjectTypes objectType
)

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 return the encoding for
objectType
Type: ContentStudio.DocumentCSFileObjectTypes
Type of file object to return encoding for

Return Value

Type: String
XML: syntax
<root><encoding>ENCODING</encoding></root>
Exceptions

See Also

Reference