Question

So I just tried creating a new classification type,

    [Export(typeof(ClassificationTypeDefinition))]
    [Name("String")]
    internal static ClassificationTypeDefinition _stringClassType;

But then I got a duplicate ClassificationTypeDefinition error telling me that "String" has already been defined. I didn't define it anywhere else. Soon as I renamed it to "String2" it went away. I'm guessing these are already defined by VS... can I get a list of the predefined ones so I know which to avoid (or which ones I can use)?

Was it helpful?

Solution

Oops.... guess that wasn't too hard to find after all.

MSDN: PredefinedClassificationTypeNames Class

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top