C# Class Quickstarts.HistoricalAccessServer.ArchiveItem

Stores the metadata for a node representing a folder on a file system.
Mostra file Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Properties

Property Type Description
DataType BuiltInType

Private Properties

Property Type Description

Public Methods

Method Description
ArchiveItem ( string uniquePath, Assembly assembly, string resourcePath ) : System

Creates a new instance.

ArchiveItem ( string uniquePath, FileInfo file ) : System

Creates a new instance.

GetParentFolder ( ) : ArchiveFolder

Returns the parent folder.

OpenArchive ( ) : StreamReader

Returns a stream that can be used to read the archive.

Method Details

ArchiveItem() public method

Creates a new instance.
public ArchiveItem ( string uniquePath, Assembly assembly, string resourcePath ) : System
uniquePath string
assembly System.Reflection.Assembly
resourcePath string
return System

ArchiveItem() public method

Creates a new instance.
public ArchiveItem ( string uniquePath, FileInfo file ) : System
uniquePath string
file System.IO.FileInfo
return System

GetParentFolder() public method

Returns the parent folder.
public GetParentFolder ( ) : ArchiveFolder
return ArchiveFolder

OpenArchive() public method

Returns a stream that can be used to read the archive.
public OpenArchive ( ) : StreamReader
return System.IO.StreamReader

Property Details

DataType public_oe property

The data type for the item.
public BuiltInType DataType
return BuiltInType