MimeMapper.GetContentViewerType Method (String, String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.TeamFoundation.SourceControl.WebApi.Services
Assembly:  Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)

Syntax

'Declaration
Public Function GetContentViewerType ( _
    extension As String, _
    contentType As String _
) As ContentViewerType
public ContentViewerType GetContentViewerType(
    string extension,
    string contentType
)
public:
ContentViewerType GetContentViewerType(
    String^ extension, 
    String^ contentType
)
member GetContentViewerType : 
        extension:string * 
        contentType:string -> ContentViewerType
public function GetContentViewerType(
    extension : String, 
    contentType : String
) : ContentViewerType

Parameters

Return Value

Type: Microsoft.TeamFoundation.SourceControl.WebApi.ContentViewerType

.NET Framework Security

See Also

Reference

MimeMapper Class

GetContentViewerType Overload

Microsoft.TeamFoundation.SourceControl.WebApi.Services Namespace