Click or drag to resize

CategorizedSettingsBaseGetFieldCategoryName Method

Gets the category name to use for the specified field or property.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
Syntax
public string GetFieldCategoryName(
	string name
)
View Source

Parameters

name  String
Field or property name.

Return Value

String
Category applied to specified field or property; or CategoryName if attribute does not exist.
Exceptions
ExceptionCondition
ArgumentExceptionname cannot be null or empty.
Remarks
Category will only be returned if UseCategoryAttributes is true; otherwise CategoryName value will be returned.
See Also