C# Class DiscUtils.BootConfig.BcdObject

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

Private Properties

Property Type Description
AddMapping void
BcdObject System
BcdObject System
MakeApplicationType int
MakeInheritType int

Public Methods

Method 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

Method 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 method

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.
return DiscUtils.BootConfig.Element

AddElement() public method

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.
return DiscUtils.BootConfig.Element

GetElement() public method

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

GetElement() public method

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

HasElement() public method

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

HasElement() public method

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

IsInheritableBy() public method

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.
return bool

RemoveElement() public method

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

RemoveElement() public method

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

ToString() public method

Returns the object identity as a GUID string.
public ToString ( ) : string
return string