IClassificationTypeRegistryService.GetClassificationType Method
Gets the IClassificationType object identified by the specified type.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Déclaration
Function GetClassificationType ( _
type As String _
) As IClassificationType
IClassificationType GetClassificationType(
string type
)
IClassificationType^ GetClassificationType(
String^ type
)
abstract GetClassificationType :
type:string -> IClassificationType
function GetClassificationType(
type : String
) : IClassificationType
Parameters
- type
Type: System.String
The name of the classification type.
Return Value
Type: Microsoft.VisualStudio.Text.Classification.IClassificationType
The classification type, nulla null reference (Nothing in Visual Basic) if there is no classification type of that name.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.