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

PI Powershell

SetFileOptions.AllowedFileExtensions Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetFileOptions.AllowedFileExtensions Property

File Extensions which are to be permitted

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = "List of Allowed File Extensions")]
[ValidateNotNullOrEmptyAttribute]
public string[] AllowedFileExtensions { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, HelpMessage := "List of Allowed File Extensions")>
<ValidateNotNullOrEmptyAttribute>
Public Property AllowedFileExtensions As String()
	Get
	Set

Dim instance As SetFileOptions
Dim value As String()

value = instance.AllowedFileExtensions

instance.AllowedFileExtensions = value
public:
[ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = L"List of Allowed File Extensions")]
[ValidateNotNullOrEmptyAttribute]
property array<String^>^ AllowedFileExtensions {
	array<String^>^ get ();
	void set (array<String^>^ value);
}
[<ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = "List of Allowed File Extensions")>]
[<ValidateNotNullOrEmptyAttribute>]
member AllowedFileExtensions : string[] with get, set

Property Value

Type: String

See Also

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