Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.CreateCustomAttribute(Type, Object) Method

Creates a CustomAttributeBuilder.

[Visual Basic]
Public Overloads Shared Sub CreateCustomAttribute( _
   ByVal type As Type, _
   ParamArray ctorArgs As Object _
)
[C#]
public static CustomAttributeBuilder CreateCustomAttribute(
   Type type,
   params object[] ctorArgs
);

Parameters

type
The desired AttributeType.
ctorArgs
Any constructor arguments for the attribute (may be a null reference (Nothing in Visual Basic) in the case of no arguments).

Return Value

A custom attribute builder.

See Also

ReflectionUtils Class | Spring.Util Namespace | ReflectionUtils.CreateCustomAttribute Overload List