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
contentType
Type: Microsoft.VisualStudio.Utilities.IContentTypeThe content type.
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
- 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.