Xceed .NET Libraries Documentation
DoApplyPropertiesTo Method (FileSystemItem)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > FileSystemItem Class : DoApplyPropertiesTo Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
A FileSystemItem object to which the current item's properties must be copied. Should not be a null reference (Nothing in Visual Basic).
Copies the item's properties to another item.
Syntax
'Declaration
 
Protected Overridable Sub DoApplyPropertiesTo( _

   ByVal session As FileSystemEventsSession, _

   ByVal targetItem As FileSystemItem _

) 
'Usage
 
Dim instance As FileSystemItem

Dim session As FileSystemEventsSession

Dim targetItem As FileSystemItem

 

instance.DoApplyPropertiesTo(session, targetItem)
protected virtual void DoApplyPropertiesTo( 

   FileSystemEventsSession session,

   FileSystemItem targetItem

)

Parameters

session
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
targetItem
A FileSystemItem object to which the current item's properties must be copied. Should not be a null reference (Nothing in Visual Basic).
Remarks
This method should be overridden only in the case where the physical item ( file or folder ) supports specific meta-data ( other than attributes, dates, size, etc... ). The override should eventually call the base implementation in order to address the regular FileSystemItem meta-data.
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

FileSystemItem Class
FileSystemItem Members