开发者

Get all defined ClassificationTypeDefinitions?

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. Soo开发者_JAVA百科n 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)?


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

MSDN: PredefinedClassificationTypeNames Class

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜