Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
XML: syntax
[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: StringXML: syntax
<root><encoding>ENCODING</encoding></root>
Exceptions
Exception | Condition |
---|---|
CSInvalidSessionException | |
CSPermissionDeniedException | |
CSInvalidParameterException | |
CSDocumentNotFoundException | |
CSException | |
SqlException |
See Also