Method RemoveAttribute
RemoveAttribute<T>(T, FunctionAttributeIndex, AttributeKind)
Removes an AttributeKind from an IAttributeContainer
Declaration
public static T RemoveAttribute<T>(this T self, FunctionAttributeIndex index, AttributeKind kind)
where T : class, IAttributeContainer
Parameters
public static T RemoveAttribute<T>(this T self, FunctionAttributeIndex index, AttributeKind kind)
where T : class, IAttributeContainer
T | self | Container to remove the attribute from |
FunctionAttributeIndex | index | FunctionAttributeIndex to remove the attribute from |
AttributeKind | kind | Attribute to remove from the container |
Returns
T |
|
Type Parameters
T | Container type |
RemoveAttribute<T>(T, FunctionAttributeIndex, String)
Removes a named attribute from an IAttributeContainer
Declaration
public static T RemoveAttribute<T>(this T self, FunctionAttributeIndex index, string name)
where T : class, IAttributeContainer
Parameters
public static T RemoveAttribute<T>(this T self, FunctionAttributeIndex index, string name)
where T : class, IAttributeContainer
T | self | Container to remove the attribute from |
FunctionAttributeIndex | index | FunctionAttributeIndex to remove the attribute from |
String | name | Attribute name to remove from the container |
Returns
T |
|
Type Parameters
T | Container type |