'Declaration
Public Overloads Shared Function GetDocumentFormat( _ ByVal FilePath As String _ ) As DocumentFormat
public static DocumentFormat GetDocumentFormat( string FilePath )
public function GetDocumentFormat( FilePath: String ): DocumentFormat; static;
public static function GetDocumentFormat( FilePath : String ) : DocumentFormat;
public: static DocumentFormat GetDocumentFormat( string* FilePath )
public: static DocumentFormat GetDocumentFormat( String^ FilePath )
Parameters
- FilePath
- The full file path of the specified document. If the specified file does not exist, the returned format is unknown.
Return Value
A member of the DocumentFormat enumeration. The format of the specified document.