Table of Contents

Class WindowsFiles

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a collection of files found on a Windows based computer system.

public class WindowsFiles : BaseTypeSection
Inheritance
WindowsFiles

Constructors

WindowsFiles()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsFiles class.

public WindowsFiles()

Properties

Items

Gets or sets the items in the collection.

public WindowsFileCollection Items { get; set; }

Property Value

WindowsFileCollection

LocatedFiles

Gets the located files in the collection.

public WindowsFileCollection LocatedFiles { get; }

Property Value

WindowsFileCollection

MissingFiles

Gets the files in the collection that could not be located.

public WindowsFileCollection MissingFiles { get; }

Property Value

WindowsFileCollection

Methods

FindByDisplayName(string)

Returns the file with the specified display name, or null if no file with that name is found.

public WindowsFile FindByDisplayName(string displayName)

Parameters

displayName string

The unique administrator assigned display name of this file - for example "Hosts File".

Returns

WindowsFile

The Windows file with the specified name.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.WindowsFiles class from the specified XML.

public static WindowsFiles FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

WindowsFiles

A CENTREL.XIA.Configuration.Types.WindowsFiles class.

ToString()

Returns the files as a human readable string - for example "12 Files".

public override string ToString()

Returns

string

The files as a human readable string.