DocumentTypeConfiguration Class

Definition

Allows declaring a new document type.

[Microsoft.VisualStudio.Extensibility.CompileTimeEvaluation]
[System.Runtime.Serialization.DataContract]
public sealed class DocumentTypeConfiguration : IEquatable<Microsoft.VisualStudio.Extensibility.Editor.DocumentTypeConfiguration>, Microsoft.VisualStudio.Extensibility.IVisualStudioContributionProperty
[<Microsoft.VisualStudio.Extensibility.CompileTimeEvaluation>]
[<System.Runtime.Serialization.DataContract>]
type DocumentTypeConfiguration = class
    interface IEquatable<DocumentTypeConfiguration>
    interface IVisualStudioContributionProperty
Public NotInheritable Class DocumentTypeConfiguration
Implements IEquatable(Of DocumentTypeConfiguration), IVisualStudioContributionProperty
Inheritance
DocumentTypeConfiguration
Attributes
Implements

Constructors

DocumentTypeConfiguration(String)

Initializes a new instance of the DocumentTypeConfiguration class.

Properties

BaseDocumentType

Gets or sets base this document type inherits from.

FileExtensions

Gets or sets file name extensions associated with the document type. File extensions must start with a '.' character.

Name

Gets the document type name. Document type names are case-insensitive.

Methods

Equals(DocumentTypeConfiguration)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)
GetHashCode()

Serves as the default hash function.

Applies to