C# Класс DiscUtils.BootConfig.BcdObject

Represents a Boot Configuration Database object (application, device or inherited settings).
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddMapping void
BcdObject System
BcdObject System
MakeApplicationType int
MakeInheritType int

Открытые методы

Метод Описание
AddElement ( WellKnownElement id, DiscUtils.BootConfig.ElementValue initialValue ) : DiscUtils.BootConfig.Element

Adds an element in this object.

AddElement ( int id, DiscUtils.BootConfig.ElementValue initialValue ) : DiscUtils.BootConfig.Element

Adds an element in this object.

GetElement ( WellKnownElement id ) : DiscUtils.BootConfig.Element

Gets a specific element in this object.

GetElement ( int id ) : DiscUtils.BootConfig.Element

Gets a specific element in this object.

HasElement ( WellKnownElement id ) : bool

Indicates if this object has a specific element.

HasElement ( int id ) : bool

Indicates if this object has a specific element.

IsInheritableBy ( ObjectType type ) : bool

Indicates if the settings in this object are inheritable by another object.

RemoveElement ( WellKnownElement id ) : void

Removes a specific element.

RemoveElement ( int id ) : void

Removes a specific element.

ToString ( ) : string

Returns the object identity as a GUID string.

Приватные методы

Метод Описание
AddMapping ( string name, string id ) : void
BcdObject ( ) : System
BcdObject ( DiscUtils.BootConfig.BaseStorage store, Guid id ) : System
MakeApplicationType ( ApplicationImageType imageType, ApplicationType appType ) : int
MakeInheritType ( InheritType inheritType ) : int

Описание методов

AddElement() публичный Метод

Adds an element in this object.
public AddElement ( WellKnownElement id, DiscUtils.BootConfig.ElementValue initialValue ) : DiscUtils.BootConfig.Element
id WellKnownElement The identity of the element to add.
initialValue DiscUtils.BootConfig.ElementValue The initial value of the element.
Результат DiscUtils.BootConfig.Element

AddElement() публичный Метод

Adds an element in this object.
public AddElement ( int id, DiscUtils.BootConfig.ElementValue initialValue ) : DiscUtils.BootConfig.Element
id int The identity of the element to add.
initialValue DiscUtils.BootConfig.ElementValue The initial value of the element.
Результат DiscUtils.BootConfig.Element

GetElement() публичный Метод

Gets a specific element in this object.
public GetElement ( WellKnownElement id ) : DiscUtils.BootConfig.Element
id WellKnownElement The identity of the element to look for.
Результат DiscUtils.BootConfig.Element

GetElement() публичный Метод

Gets a specific element in this object.
public GetElement ( int id ) : DiscUtils.BootConfig.Element
id int The identity of the element to look for.
Результат DiscUtils.BootConfig.Element

HasElement() публичный Метод

Indicates if this object has a specific element.
public HasElement ( WellKnownElement id ) : bool
id WellKnownElement The identity of the element to look for.
Результат bool

HasElement() публичный Метод

Indicates if this object has a specific element.
public HasElement ( int id ) : bool
id int The identity of the element to look for.
Результат bool

IsInheritableBy() публичный Метод

Indicates if the settings in this object are inheritable by another object.
public IsInheritableBy ( ObjectType type ) : bool
type ObjectType The type of the object to test for inheritability.
Результат bool

RemoveElement() публичный Метод

Removes a specific element.
public RemoveElement ( WellKnownElement id ) : void
id WellKnownElement The element to remove.
Результат void

RemoveElement() публичный Метод

Removes a specific element.
public RemoveElement ( int id ) : void
id int The element to remove.
Результат void

ToString() публичный Метод

Returns the object identity as a GUID string.
public ToString ( ) : string
Результат string