共用方式為


SPDocumentParser Constructor (String, String)

Initializes a new instance of the SPDocumentParser class.

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

Syntax

'Declaration
Public Sub New ( _
    progId As String, _
    fileExtension As String _
)
'Usage
Dim progId As String
Dim fileExtension As String

Dim instance As New SPDocumentParser(progId, _
    fileExtension)
public SPDocumentParser(
    string progId,
    string fileExtension
)

Parameters

  • progId
    Type: System.String

    A string that specifies the ProgID of the document parser.

  • fileExtension
    Type: System.String

    A string that specifies the file extension for files that are handled by the parser.

See Also

Reference

SPDocumentParser Class

SPDocumentParser Members

SPDocumentParser Overload

Microsoft.SharePoint.Administration Namespace