共用方式為


SPMimeMapping.MimeType Property

Target MIME type that files to receive as specified by Extension and ProgId. Must be non-null and greater than 0 characters in length.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property MimeType As String
    Get
'Usage
Dim instance As SPMimeMapping
Dim value As String

value = instance.MimeType
public string MimeType { get; }

Property Value

Type: System.String
Returns String.

See Also

Reference

SPMimeMapping Class

SPMimeMapping Members

Microsoft.SharePoint.Administration Namespace