Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
FileDialog Class
 SafeFileNames Property
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.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)
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.

Windows Vista

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.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker