共用方式為


ClassificationTypeDefinition Class

Definition

Describes a data-only export for declaring classification types.

public ref class ClassificationTypeDefinition sealed
public ref class ClassificationTypeDefinition sealed
class ClassificationTypeDefinition sealed
public sealed class ClassificationTypeDefinition
type ClassificationTypeDefinition = class
Public NotInheritable Class ClassificationTypeDefinition
Inheritance
ClassificationTypeDefinition

Examples

internal sealed class Components
{
   [Export]
   [Name("keyword")]            // required
   [BaseDefinition("text")]     // zero or more BaseDefinitions are allowed
   internal ClassificationTypeDefinition keywordDefinition;

   { other components }
}

Remarks

Because you cannot subclass this type, you can use the [Export] attribute with no type.

Constructors

ClassificationTypeDefinition()

Initializes a new instance of ClassificationTypeDefinition.

Applies to