Click or drag to resize

imbAttributeToolsgetAttributeValueOrDefaultT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.Core.attributes
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getAttributeValueOrDefault<T>(
	this MemberInfo input,
	string defaultValue,
	bool includeInherited = false
)
where T : Attribute
Request Example View Source

Parameters

input
Type: System.ReflectionMemberInfo
defaultValue
Type: SystemString
includeInherited (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MemberInfo. 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).
See Also