Sdílet prostřednictvím


FileConfigurationSourceElementNode.File Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets or sets the name of the file.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Configuration.Design.dll)

Syntax

'Declaration
<FileValidationAttribute> _
<ExternalConfigurationFileStorageCreationAttribute> _
<EditorAttribute(GetType(SaveFileEditor), GetType(UITypeEditor))> _
<RequiredAttribute> _
PublicPropertyFileAs String
[FileValidationAttribute]
[ExternalConfigurationFileStorageCreationAttribute]
[EditorAttribute(typeof(SaveFileEditor), typeof(UITypeEditor))]
[RequiredAttribute]
public string File { get; set; }
[FileValidationAttribute]
[ExternalConfigurationFileStorageCreationAttribute]
[EditorAttribute(typeof(SaveFileEditor), typeof(UITypeEditor))]
[RequiredAttribute]
public:
property String^ File {
    String^ get ();
    voidset (String^ value);
}
publicfunction getFile () : String
publicfunction setFile (value : String)

Field Value

The name of the file.

See Also

FileConfigurationSourceElementNode Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.