SPUrlUtility Members

Include Protected Members
Include Inherited Members

Provides access to methods that operate on URLs.

The SPUrlUtility type exposes the following members.

Constructors

  Name Description
Protected method SPUrlUtility Initializes a new instance of the SPUrlUtility class.

Top

Properties

  Name Description
Public propertyStatic member AllowedProtocols Returns an array of allowed URL protocols.

Top

Methods

  Name Description
Public methodStatic member CombineUrl Combines a specified URL path and nodes.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member IndexOfIllegalCharInUrlLeafName Returns the integer index of an illegal character in the specified URL leaf name.
Public methodStatic member IsLegalCharInUrl Gets a Boolean value that indicates whether the specified character can be used in a URL.
Public methodStatic member IsLegalFileName Validates the specified URL leaf name.
Public methodStatic member IsProtocolAllowed(String) Gets a Boolean value indicating whether the specified URL uses a supported protocol.
Public methodStatic member IsProtocolAllowed(String, Boolean) Gets a Boolean value indicating whether the specified URL uses a supported protocol.
Public methodStatic member IsUrlFull Gets a Boolean value indicating whether the specified URL is a full URL and not a relative URL.
Public methodStatic member IsUrlRelative Gets a Boolean value indicating whether the specified URL is a relative URL and not a full URL.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPUrlUtility Class

Microsoft.SharePoint.Utilities Namespace