.NET Framework Class Library
FileDialog..::.SafeFileNames Property

Gets an array that contains one safe file name for each selected file.

Namespace:  Microsoft.Win32
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax

Visual Basic (Declaration)
Public ReadOnly Property SafeFileNames As String()
Visual Basic (Usage)
Dim instance As FileDialog
Dim value As String()

value = instance.SafeFileNames
C#
public string[] SafeFileNames { get; }
Visual C++
public:
property array<String^>^ SafeFileNames {
    array<String^>^ get ();
}
JScript
public function get SafeFileNames () : String[]
XAML
You cannot set this property in XAML.

Property Value

Type: array<System..::.String>[]()[]
An array of String that contains one safe file name for each selected file. The default is an array with a single item whose value is Empty.
Remarks

See SafeFileName.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker