IClassificationTypeRegistryService.GetClassificationType(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 IClassificationType 由指定的标识的对象 type 。
public:
Microsoft::VisualStudio::Text::Classification::IClassificationType ^ GetClassificationType(System::String ^ type);
public:
Microsoft::VisualStudio::Text::Classification::IClassificationType ^ GetClassificationType(Platform::String ^ type);
Microsoft::VisualStudio::Text::Classification::IClassificationType GetClassificationType(std::wstring const & type);
public Microsoft.VisualStudio.Text.Classification.IClassificationType GetClassificationType (string type);
abstract member GetClassificationType : string -> Microsoft.VisualStudio.Text.Classification.IClassificationType
Public Function GetClassificationType (type As String) As IClassificationType
参数
- type
- String
分类类型的名称。
返回
分类类型,如果不存在该名称的分类类型,则 为 null 。