Class WebTopLevelFlavorElement
public class WebTopLevelFlavorElement : Win32FlavorElement
- Inheritance
-
WebTopLevelFlavorElement
- Inherited Members
Constructors
WebTopLevelFlavorElement(IntPtr)
public WebTopLevelFlavorElement(IntPtr handle)
Parameters
handleIntPtr
Methods
GetAttributeValue(Element, string)
Needs to be implemented for attribute value read access.
public override object GetAttributeValue(Element element, string name)
Parameters
Returns
- object
The attribute value.
GetElementCapabilities(Element, out Role, out string[], out string)
Supplies the role, a list of capabilities and a preferred capability names to the caller. This method called when building a new element from the flavor element.
public override void GetElementCapabilities(Element parent, out Role role, out string[] capabilities, out string preferredCap)
Parameters
parentElementThe parent element of the element to be constructed. (for reference only)
roleRoleThe role the element should have.
capabilitiesstring[]The list of capabilities the element should have.
preferredCapstringThe preferred capability the element should have.
IsEqual(FlavorElement)
Compares to flavor elements. This should be implemented using the best comparison method available.
public override bool IsEqual(FlavorElement flavorElem)
Parameters
flavorElemFlavorElementThe flavor element to compare to.
Returns
- bool
True if the flavor elements are equal.
Remarks
The base method compares the token values returned by GetRuntimeTokenValues().