ContentTypeDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a content type.
public ref class ContentTypeDefinition sealed
public ref class ContentTypeDefinition sealed
class ContentTypeDefinition sealed
public sealed class ContentTypeDefinition
type ContentTypeDefinition = class
Public NotInheritable Class ContentTypeDefinition
- Inheritance
-
ContentTypeDefinition
Examples
internal sealed class Components
{
[Export]
[Name("Example")] // required
[BaseDefinition("text")] // zero or more BaseDefinitions are allowed
internal ContentTypeDefinition exampleDefinition;
{ other components }
}
Remarks
Because you cannot subclass this type, you can use the [Export] attribute with no type.
Constructors
ContentTypeDefinition() |
Initializes a new instance of ContentTypeDefinition. |