Share via


ITextDifferencingSelectorService.GetTextDifferencingService Method

Gets the ITextDifferencingService for the given content type.

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

Syntax

'Declaration
Function GetTextDifferencingService ( _
    contentType As IContentType _
) As ITextDifferencingService
ITextDifferencingService GetTextDifferencingService(
    IContentType contentType
)
ITextDifferencingService^ GetTextDifferencingService(
    IContentType^ contentType
)
abstract GetTextDifferencingService : 
        contentType:IContentType -> ITextDifferencingService
function GetTextDifferencingService(
    contentType : IContentType
) : ITextDifferencingService

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Differencing.ITextDifferencingService
Returns a ITextDifferencingService that is guaranteed never to be nulla null reference (Nothing in Visual Basic).

Remarks

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

.NET Framework Security

See Also

Reference

ITextDifferencingSelectorService Interface

Microsoft.VisualStudio.Text.Differencing Namespace