Condividi tramite


SPDocumentConverter.MaxFileSize Property

Gets or sets the maximum file size in kilobytes that the document converter can handle.

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

Syntax

'Declaration
Public Property MaxFileSize As Integer
    Get
    Set
'Usage
Dim instance As SPDocumentConverter
Dim value As Integer

value = instance.MaxFileSize

instance.MaxFileSize = value
public int MaxFileSize { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that indicates the maximum file size, which by default equals the default value of the NoFileSizeLimit property, which is -1, meaning that there is no maximum file size.

See Also

Reference

SPDocumentConverter Class

SPDocumentConverter Members

Microsoft.SharePoint.Administration Namespace