Class DocumentTypeAttribute
Indicate a class represents a Document object.
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class DocumentTypeAttribute : Attribute
- Inheritance
-
DocumentTypeAttribute
- Extension Methods
Constructors
DocumentTypeAttribute()
Use the name of the class as the document type name.
public DocumentTypeAttribute()
DocumentTypeAttribute(string)
Specifies the document type by name.
public DocumentTypeAttribute(string documentType)
Parameters
documentType
stringDocument type name.
Properties
DocumentTypeName
public string DocumentTypeName { get; }