Share via


SPDocumentParser constructor (String, String)

Initializes a new instance of the SPDocumentParser class.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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