ContentType Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The ContentType property indicates what type of content the Content property contains. The Content property can contain HTML, Extensible Markup Language (XML), Microsoft® Visual Basic® Scripting Edition (VBScript), or Microsoft® JScript®. To process content correctly, the dashboard factory must have information about the type of content that Content contains.
The following table lists the possible values for this property. Dashboard factories handle values outside this range as an unknown type, so that you can extend this list for specialized implementations.
Value | Value |
---|---|
0 | Content is HTML. |
1 | Content is VBScript that runs on the server. |
2 | Content is Jscript that runs on the server. |
3 | Content is XML and should be transformed through the XSL or XSLLink property. |
If you do not define ContentType, dashboard factories treat the contents of the Content property as simple HTML.
Property | Value |
---|---|
Data Type | Long |
Default | 0 |
IsContentIndexed | FALSE |
IsIndexed | FALSE |
IsMultiValued | FALSE |
IsReadOnly | FALSE |
IsRequired | FALSE |
IsVisible | TRUE |
Version | 1 |
TextFormat | N/A |
See Also
Web Part Schema Properties | VBScript and JScript Content | Content Property | ContentLink Property