C# Class DiscUtils.BootConfig.BcdObject

Represents a Boot Configuration Database object (application, device or inherited settings).
Afficher le fichier Open project: gus33000/WindowsBuildIdentifier Class Usage Examples

Private Properties

Свойство Type Description
AddMapping void
BcdObject System
BcdObject System
MakeApplicationType int
MakeInheritType int

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

AddElement() public méthode

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.
Résultat DiscUtils.BootConfig.Element

AddElement() public méthode

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.
Résultat DiscUtils.BootConfig.Element

GetElement() public méthode

Gets a specific element in this object.
public GetElement ( WellKnownElement id ) : DiscUtils.BootConfig.Element
id WellKnownElement The identity of the element to look for.
Résultat DiscUtils.BootConfig.Element

GetElement() public méthode

Gets a specific element in this object.
public GetElement ( int id ) : DiscUtils.BootConfig.Element
id int The identity of the element to look for.
Résultat DiscUtils.BootConfig.Element

HasElement() public méthode

Indicates if this object has a specific element.
public HasElement ( WellKnownElement id ) : bool
id WellKnownElement The identity of the element to look for.
Résultat bool

HasElement() public méthode

Indicates if this object has a specific element.
public HasElement ( int id ) : bool
id int The identity of the element to look for.
Résultat bool

IsInheritableBy() public méthode

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.
Résultat bool

RemoveElement() public méthode

Removes a specific element.
public RemoveElement ( WellKnownElement id ) : void
id WellKnownElement The element to remove.
Résultat void

RemoveElement() public méthode

Removes a specific element.
public RemoveElement ( int id ) : void
id int The element to remove.
Résultat void

ToString() public méthode

Returns the object identity as a GUID string.
public ToString ( ) : string
Résultat string