Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / XFile Class / HasFile Method
The name of relation file.


In This Topic
    HasFile Method
    In This Topic
    Determines whether the specified name of relation file exist.
    Syntax
    'Declaration
     
    
    Public Function HasFile( _
       ByVal name As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As XFile
    Dim name As String
    Dim value As Boolean
     
    value = instance.HasFile(name)
    public bool HasFile( 
       string name
    )

    Parameters

    name
    The name of relation file.

    Return Value

    true if the specified name of file exist; otherwise, false.
    See Also