You are here: Ektron Namespace > Plug-in Extension API > Ektron.Cms.Extensibility Namespace > Classes > ContentInfo Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ContentInfo Class

Class which holds information about the content being processed. Certain hooks do not expose all information from the CMS, default values are assigned to the properties of this class. Data types default to the following: long = -1. string = "". bool = false.

C#
public sealed class ContentInfo;
Visual Basic
Public sealed Class ContentInfo

CmsInfoObjects.cs

Name 
Description 
The properties of the ContentInfo class are listed here. 
 
Name 
Description 
 
Gets a string containing the asset ID in the form of a GUID if the content is an asset. (ReadOnly)  
 
Gets a string containing the comments a user has entered during their operation. (ReadOnly)  
 
Gets or sets a string containing message to display to the end user if Plug-in returns false. (ReadWrite)  
 
Gets a string containing the full physical path and file name on the server if content is an asset. (ReadOnly)  
 
Gets a string containing file extension if content is an asset. (ReadOnly)  
 
Gets a string containing file name if content is an asset. (ReadOnly)  
 
Gets an long representing the folder ID which this content is located. (ReadOnly)  
 
Html 
Gets or Sets a string containing all the html displayed to end users for a piece of content. (ReadWrite Note: This property only allows write access within OnBeforePublish.)  
 
ID 
Gets an long representing the content ID of the content. (ReadOnly)  
 
Gets an integer representing the language of the content. (ReadOnly)  
 
Gets a string containing the MIME type if content is an asset. (ReadOnly)  
 
Gets a string representing the status of the content, published, checkedOut. (ReadOnly)  
 
Gets a string containing the title of the content. (ReadOnly)  
 
Type 
Gets an integer representing the content type. (ReadOnly)  
 
Gets a long representing the user ID of the user performing the operation on the content. (ReadOnly)  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!