You are here: RainWorx.FrameWorx.Utility > Utilities Class > Utilities Methods > GetCustomPropertyValue(T) Method

UtilitiesGetCustomPropertyValueT Method

AuctionWorx 3.5 API

Namespace:  RainWorx.FrameWorx.Utility
Assembly:  RainWorx.FrameWorx.Utility (in RainWorx.FrameWorx.Utility.dll) Version: 3.5

Syntax

C#
public static T GetCustomPropertyValue<T>(
	this List<CustomProperty> properties,
	string key,
	T defaultValue
)
where T : IConvertible

Parameters

properties
Type: System.Collections.GenericListCustomProperty
key
Type: SystemString
defaultValue
Type: T

Type Parameters

T

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 ListCustomProperty. 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

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.