ITextDifferencingSelectorService::GetTextDifferencingService Method (IContentType^)

 

Gets the ITextDifferencingService for the given content type.

Namespace:   Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

ITextDifferencingService^ GetTextDifferencingService(
	IContentType^ contentType
)

Parameters

contentType
Type: Microsoft.VisualStudio.Utilities::IContentType^

The content type.

Return Value

Type: Microsoft.VisualStudio.Text.Differencing::ITextDifferencingService^

Returns a ITextDifferencingService that is guaranteed never to be null.

If two ITextDifferencingService exports tie for being most specific, one of them will be chosen arbitrarily.

Return to top
Show: