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

AF SDK Reference

PISystem.FileAllowedExtensions Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystem.FileAllowedExtensions Property
The list of valid file extensions for an AFFile.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public IList<string> FileAllowedExtensions { get; }
Public ReadOnly Property FileAllowedExtensions As IList(Of String)
	Get

Dim instance As PISystem
Dim value As IList(Of String)

value = instance.FileAllowedExtensions
public:
property IList<String^>^ FileAllowedExtensions {
	IList<String^>^ get ();
}
member FileAllowedExtensions : IList<string> with get

Property Value

Type: IListString
Returns the list of valid file extensions for an AFFile. If this returns an empty list, then all file extensions are allowed.

Remarks

This list can be used to validate user input when uploading files to the PISystem. This validation settings can be modified using the SetFileOptions(PISystem, IListString, Int32) method or using the AFDiag utility. To disable all files, set the FileMaxLength to zero.

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

See Also

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