.NET Framework Class Library
Document.DocumentFileType Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Document Class > Document Methods >

.NET Framework Class Library
Document.DocumentFileType Method

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, _
 dType As DocType _
As Boolean

C#

public bool DocumentFileType(

 string fullFileName,
 DocType dType
)

Visual C++

public:

bool DocumentFileType(
 StringfullFileName,
 DocType dType
)

JavaScript

function documentFileType(fullFileNamedType);

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

Document Class

Document Members

MwPDMApi Namespace