.NET Framework Class Library
Document.DocumentFileType Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Document Class > Document Methods > .NET Framework Class Library |
Detects if the document is of the type specified.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function DocumentFileType ( _ fullFileName As String, _ |
C# |
|---|
public bool DocumentFileType( string fullFileName, |
Visual C++ |
|---|
public: bool DocumentFileType( |
JavaScript |
|---|
function documentFileType(fullFileName, dType); |
Parameters
fullFileName
Type: System.String
entire (comprehensive of all directories) file name
dType
Type: MwPDMApi.DocType
type of the current document
Return Value
TRUE if the document belongs to the type specified, FALSE otherwise
Remarks
See Also