UriHelperGetFileName Method Document Toolkit Help
Gets the filename from specified uri.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: (

public static string GetFileName(
	this Uri uri


Type: SystemUri
The URI.

Return Value

Type: String
The filename.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Uri. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also