ShopToolsUtilHasProperty Method

Return a value indicating whether the provided type has a public property with the specified name.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static bool HasProperty(
	Type type,
	string propertyName
)

Parameters

type  Type
Reference to the object type to consider.
propertyName  String
Name of the property to search for.

Return Value

Boolean
True if a property exists in this class with the specified name. Otherwise, false.

See Also