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
[<System.Windows.Markup.ContentProperty("Metadata")>]
type ContentType = class
    interface ISupportInitialize
    interface IProjectSchemaNode
Public NotInheritable Class ContentType
Implements IProjectSchemaNode, ISupportInitialize
Inheritance
ContentType
Attributes
Implements

Constructors

ContentType()

Constructor

Properties

DefaultContentTypeForItemType

serializes IContentType.DefaultContentTypeForItemType

DisplayName

serializes IContentType.DisplayName

ItemGroupName
Obsolete.

This property was never used for anything. It should have been removed before we shipped MSBuild 4.0.

ItemType

serializes IContentType.ItemType

Metadata

serializes content type's metadata. Accessible via IContentType.GetMetadata()

Name

serializes IContentType.Name

Methods

BeginInit()

See ISupportInitialize.

EndInit()

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)

Access metadata in convenient way

GetSchemaObjects(Type)

see IProjectSchemaNode

GetSchemaObjectTypes()

see IProjectSchemaNode

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