AFGlobalSettings.ShowExcludedAttributes Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static bool ShowExcludedAttributes { get; set; }
Public Shared Property ShowExcludedAttributes As Boolean Get Set Dim value As Boolean value = AFGlobalSettings.ShowExcludedAttributes AFGlobalSettings.ShowExcludedAttributes = value
public: static property bool ShowExcludedAttributes { bool get (); void set (bool value); }
static member ShowExcludedAttributes : bool with get, set
Property Value
Type: BooleanThis setting determines if attributes with their IsExcluded property set to are shown. The default value is .
Remarks
An attribute is excluded when its IsExcluded property is set to . This setting determines if excluded attributes are returned when iterating through the items in a collection of attributes. When this property is , then excluded attributes are included when iterating through the items in a collection of attributes. Otherwise, excluded attributes are not included when iterating through the collection of attributes. Excluded attributes will always be returned when using any lookup (e.g. when looked up by name, ID, or index) in the collection of attributes.
This setting also determines whether excluded attributes are returned from the Find methods when looking up attributes by path. For example, excluded attributes will not be returned by the AFObjectFindObject methods unless this property is set to .