ITextDifferencingSelectorService.GetTextDifferencingService Method

Definition

Get the ITextDifferencingService for the given content type.

public:
 Microsoft::VisualStudio::Text::Differencing::ITextDifferencingService ^ GetTextDifferencingService(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
public:
 Microsoft::VisualStudio::Text::Differencing::ITextDifferencingService ^ GetTextDifferencingService(Microsoft::VisualStudio::Utilities::IContentType ^ contentType);
Microsoft::VisualStudio::Text::Differencing::ITextDifferencingService GetTextDifferencingService(Microsoft::VisualStudio::Utilities::IContentType const & contentType);
public Microsoft.VisualStudio.Text.Differencing.ITextDifferencingService GetTextDifferencingService (Microsoft.VisualStudio.Utilities.IContentType contentType);
abstract member GetTextDifferencingService : Microsoft.VisualStudio.Utilities.IContentType -> Microsoft.VisualStudio.Text.Differencing.ITextDifferencingService
Public Function GetTextDifferencingService (contentType As IContentType) As ITextDifferencingService

Parameters

contentType
IContentType

The content type to use.

Returns

An ITextDifferencingService, which is guaranteed to never be null.

Remarks

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

Applies to