ContentType Class

Definition

Used to deserialize the content type information.

public ref class ContentType sealed : Microsoft::Build::Framework::XamlTypes::IProjectSchemaNode, System::ComponentModel::ISupportInitialize
[System.Windows.Markup.ContentProperty("Metadata")]
public sealed class ContentType : Microsoft.Build.Framework.XamlTypes.IProjectSchemaNode, System.ComponentModel.ISupportInitialize
type ContentType = class
    interface ISupportInitialize
    interface IProjectSchemaNode
Public NotInheritable Class ContentType
Implements IProjectSchemaNode, ISupportInitialize
Inheritance
ContentType
Attributes
Implements

Constructors

ContentType()

Constructor

Properties

DefaultContentTypeForItemType

Gets or sets a flag that determines whether default content type is available.

DisplayName

Serializes IContentType.DisplayName.

ItemGroupName

Serializes IContentType.DefaultContentTypeForItemType

ItemType

Serializes IContentType.ItemType

Metadata

Serializes content type's metadata.

Name

Serializes IContentType.Name.

Methods

BeginInit()

Begins initialization. See ISupportInitialize.

EndInit()

Ends initialization. See ISupportInitialize.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetadata(String)

Gets the value of the given metadata name.

GetSchemaObjects(Type)

Returns an enumerator over all instances of static data that have the given type.

GetSchemaObjectTypes()

Returns an enumerator over all types of static data for the data-driven features that this node contains.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to