TeamFoundationFileService.FromMimeType Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function FromMimeType ( _
mimeType As String _
) As CompressionType
public static CompressionType FromMimeType(
string mimeType
)
public:
static CompressionType FromMimeType(
String^ mimeType
)
static member FromMimeType :
mimeType:string -> CompressionType
public static function FromMimeType(
mimeType : String
) : CompressionType
Parameters
- mimeType
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.CompressionType
Returns CompressionType.
.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.