Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFGlobalSettings.ShowExcludedAttributes Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFGlobalSettings.ShowExcludedAttributes Property
Setting determines if attributes with their IsExcluded property set to are shown.

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: Boolean
This 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 .

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in