MimeMapper.GetContentType Method
[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 GetContentType ( _
extension As String _
) As String
public string GetContentType(
string extension
)
public:
String^ GetContentType(
String^ extension
)
member GetContentType :
extension:string -> string
public function GetContentType(
extension : String
) : String
Parameters
- extension
Type: System.String
Return Value
Type: System.String
.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