Xceed .NET Libraries Documentation
ItemExists Method


Xceed.SSH.SFtp Assembly > Xceed.SSH.SFtp Namespace > SFtp Class : ItemExists Method
Syntax
'Declaration
 
Public Function ItemExists( _
   ByVal path As String, _
   ByVal desiredType As SFtpConstants.ItemType, _
   ByRef attributes As Attrs _
) As Boolean
'Usage
 
Dim instance As SFtp
Dim path As String
Dim desiredType As SFtpConstants.ItemType
Dim attributes As Attrs
Dim value As Boolean
 
value = instance.ItemExists(path, desiredType, attributes)
public bool ItemExists( 
   string path,
   SFtpConstants.ItemType desiredType,
   out Attrs attributes
)

Parameters

path
desiredType
attributes
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFtp Class
SFtp Members