Click or drag to resize
Llvm.NET LogoAttributeSetContainerRemoveAttribute Method (Function, AttributeKind)

[This is preliminary documentation and is subject to change.]

Compatibility extension method to handle migrating code from older attribute handling

Namespace:  Llvm.NET.Values
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public static Function RemoveAttribute(
	this Function self,
	AttributeKind kind
)

Parameters

self
Type: Llvm.NET.ValuesFunction
Function to remove attributes from
kind
Type: Llvm.NETAttributeKind
Attribute to remove

Return Value

Type: Function
The function itself

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Function. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Removes attributes from a given function itself (as opposed to the return or one of the function's parameters) This is equivalent to calling RemoveAttributeT(T, FunctionAttributeIndex, AttributeKind) with Function as the first parameter
See Also