ITextDifferencingSelectorService.GetTextDifferencingService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.