Click or drag to resize

imbAttributeToolsimbPropertyAttributeT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
V3.1: Vraca Attribut koji je trazen. Ako nepostoji, onda vraca null

Namespace:  imbSCI.Core.attributes
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static T imbPropertyAttribute<T>(
	this PropertyInfo pi
)
where T : Attribute
Request Example View Source

Parameters

pi
Type: System.ReflectionPropertyInfo

Type Parameters

T
Tip attributa koji treba pronaci

Return Value

Type: T

Usage Note

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