Click or drag to resize
Llvm.NET LogoAttributeSetContainerAddAttributes Method (Function, IEnumerableAttributeValue)

[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 AddAttributes(
	this Function self,
	IEnumerable<AttributeValue> attributes
)

Parameters

self
Type: Llvm.NET.ValuesFunction
Function to add attributes to
attributes
Type: System.Collections.GenericIEnumerableAttributeValue
Attributes to add

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
See Also