Home
Library
Learn
Downloads
Support
Community
Sign in
|
United States - English
|
|
MSDN Library
Web Development
SharePoint Products and Technologies
SharePoint 2010
SDK Documentation
SharePoint 2010 Class Libraries and Web Service References
SharePoint Foundation 2010 Class Libraries
Core Class Library
Microsoft.SharePoint
SPFile Class
SPFile Properties
Author Property
BackwardLinks Property
CharSetName Property
CheckedOutBy Property
CheckedOutByUser Property
CheckedOutDate Property
CheckInComment Property
CheckOutExpires Property
CheckOutStatus Property
CheckOutType Property
CustomizedPageStatus Property
DocumentLibrary Property
EffectiveAuditMask Property
EffectiveRawPermissions Property
ETag Property
EventReceivers Property
Exists Property
ForwardLinks Property
GeneratingConverterId Property
Generator Property
IconUrl Property
InDocumentLibrary Property
IsConvertedFile Property
IsIRMed Property
IsSharedAccessRequested Property
Item Property
Length Property
LengthByUser Property
Level Property
ListItemAllFields Property
LockedByUser Property
LockedDate Property
LockExpires Property
LockId Property
LockType Property
MajorVersion Property
MinorVersion Property
ModifiedBy Property
Name Property
ParentFolder Property
ProgID Property
Properties Property
RequiresCheckout Property
ServerRedirected Property
ServerRelativeUrl Property
SourceFile Property
SourceLeafName Property
SourceUIVersion Property
TimeCreated Property
TimeLastModified Property
Title Property
TotalLength Property
UIVersion Property
UIVersionLabel Property
UniqueId Property
Url Property
Versions Property
Web Property
Community Content
Add code samples and tips to enhance this topic.
More...
This topic has not yet been rated
-
Rate this topic
SPFile
.
Url Property
SharePoint 2010
Other Versions
Windows SharePoint Services 3
Gets the site-relative URL of the file.
Namespace:
Microsoft.SharePoint
Assembly:
Microsoft.SharePoint
(in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
C#
VB
Copy
public
string
Url {
get
; }
Property Value
Type:
System
.
String
A string that contains the URL.
See Also
Reference
SPFile Class
SPFile Members
Microsoft.SharePoint Namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)
Community Content
Add
FAQ