Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.IO
Path Class
Path Methods
Combine Method
EnsureBackslashes Method
EnsureEndBackslash Method
EnsureSlashes Method
FindExistingDirectory Method
FindExistingFile Method
GetDirectoryName Method
GetExtension Method
GetFileName Method
GetFileNameWithoutExtension Method
GetFullPath Method
GetMappedPath Method
HasExtension Method
IsPathMapped Method
IsPathRooted Method
RegisterMappedPath Method
RegisterMappedZippedFolder Method
Path
GetFileName Method
Gets the file name from the given path
Namespace:
CMS.IO
Assembly:
CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
Copy
public
static
string
GetFileName
(
string
path
)
Parameters
path
Type:
System
String
Input path
Return Value
Type:
String
See Also
Reference
Path Class
CMS.IO Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com