IClassificationTypeRegistryService.GetClassificationType(String) 方法

定义

获取 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

分类类型的名称。

返回

IClassificationType

分类类型,如果不存在该名称的分类类型,则 为 null

适用于