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

PI Powershell

SetAFAttribute.IsHidden Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFAttribute.IsHidden Property

Set the AF Attribute as hidden to client applications

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 6, Mandatory = false, ParameterSetName = "Value", 
	HelpMessage = "AF Attribute hidden item")]
[ParameterAttribute(Position = 7, Mandatory = false, ParameterSetName = "DataReference", 
	HelpMessage = "AF Attribute hidden item")]
[ValidateNotNullOrEmptyAttribute]
public bool IsHidden { get; set; }
<ParameterAttribute(Position := 6, Mandatory := false, ParameterSetName := "Value", 
	HelpMessage := "AF Attribute hidden item")>
<ParameterAttribute(Position := 7, Mandatory := false, ParameterSetName := "DataReference", 
	HelpMessage := "AF Attribute hidden item")>
<ValidateNotNullOrEmptyAttribute>
Public Property IsHidden As Boolean
	Get
	Set

Dim instance As SetAFAttribute
Dim value As Boolean

value = instance.IsHidden

instance.IsHidden = value
public:
[ParameterAttribute(Position = 6, Mandatory = false, ParameterSetName = L"Value", 
	HelpMessage = L"AF Attribute hidden item")]
[ParameterAttribute(Position = 7, Mandatory = false, ParameterSetName = L"DataReference", 
	HelpMessage = L"AF Attribute hidden item")]
[ValidateNotNullOrEmptyAttribute]
property bool IsHidden {
	bool get ();
	void set (bool value);
}
[<ParameterAttribute(Position = 6, Mandatory = false, ParameterSetName = "Value", 
	HelpMessage = "AF Attribute hidden item")>]
[<ParameterAttribute(Position = 7, Mandatory = false, ParameterSetName = "DataReference", 
	HelpMessage = "AF Attribute hidden item")>]
[<ValidateNotNullOrEmptyAttribute>]
member IsHidden : bool with get, set

Property Value

Type: Boolean

See Also

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