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
- extension
Type: System.String
- contentType
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.SourceControl.WebApi.ContentViewerType
.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.
See Also
Reference
Microsoft.TeamFoundation.SourceControl.WebApi.Services Namespace