Редагувати

Поділитися через


PosixTarEntry.DeviceMajor Property

Definition

Gets or sets the device's major number. When the current entry represents a character device or a block device, the major number identifies the driver associated with the device.

public:
 property int DeviceMajor { int get(); void set(int value); };
public int DeviceMajor { get; set; }
member this.DeviceMajor : int with get, set
Public Property DeviceMajor As Integer

Property Value

Exceptions

The entry does not represent a block device or a character device.

The value is negative, or larger than 2097151.

Remarks

Character and block devices are Unix-specific entry types.

Applies to