Share via


InventoryInstanceElementFileSystemFile Class

 

Represents an inventory instance for a file collection.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceElement
    Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceElementFileSystemFile

Syntax

[SerializableAttribute]
public sealed class InventoryInstanceElementFileSystemFile : InventoryInstanceElement
[SerializableAttribute]
public ref class InventoryInstanceElementFileSystemFile sealed : InventoryInstanceElement
<SerializableAttribute>
Public NotInheritable Class InventoryInstanceElementFileSystemFile
    Inherits InventoryInstanceElement

Constructors

Name Description
System_CAPS_pubmethod InventoryInstanceElementFileSystemFile()

Initializes a new instance of the InventoryInstanceElementFileSystemFile class.

System_CAPS_pubmethod InventoryInstanceElementFileSystemFile(FileInfo)

Initializes a new instance of the InventoryInstanceElementFileSystemFile class.

Properties

Name Description
System_CAPS_pubproperty BaseClass

Gets the class for the instance. (Inherited from InventoryInstanceElement.)

System_CAPS_pubproperty CompanyName

Gets or sets the company name for the file.

System_CAPS_pubproperty FileDescription

Gets or sets the internal description of the file.

System_CAPS_pubproperty FileName

Gets or sets the name of the file.

System_CAPS_pubproperty FilePath

Gets or sets the full path to the file.

System_CAPS_pubproperty FileVersion

Gets or sets the file version.

System_CAPS_pubproperty LastWriteDate

Gets or sets the last write date of the file.

System_CAPS_pubproperty LastWriteDateString

Gets or sets the last write date of the file as a string. This property is only for serialization. Use LastWriteDate instead.

System_CAPS_pubproperty Namespace

Gets the WMI namespace for the instance. (Inherited from InventoryInstanceElement.)

System_CAPS_pubproperty ParentClass

Gets the parent class for the instance. (Inherited from InventoryInstanceElement.)

System_CAPS_pubproperty ProductLanguage

Gets or sets the language of the file.

System_CAPS_pubproperty ProductName

Gets or sets the product name.

System_CAPS_pubproperty ProductVersion

Gets or sets the product version.

System_CAPS_pubproperty Size

Gets or sets the file size, in bytes.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static GetDirectoryFileDetails(String, String, Boolean)

Gets details for all of the files in a directory.

System_CAPS_pubmethodSystem_CAPS_static GetDirectoryFileDetails(String, String, Boolean, Boolean)

Gets details for all of the files in a directory.

System_CAPS_pubmethod GetFileDetails(FileInfo, Boolean)

Gets the details of a file.

System_CAPS_pubmethodSystem_CAPS_static GetFileDetails(String)

Gets the details of a file.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top