SetFileOptions.AllowedFileExtensions Property
- Last UpdatedDec 15, 2025
- 2 minute read
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