Class Uri
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public sealed class Uri : BoxedRecord, IEquatable<Uri>
- Inheritance
-
Uri
- Implements
- Inherited Members
Constructors
Uri(UriOwnedHandle)
public Uri(UriOwnedHandle handle)
Parameters
handle
UriOwnedHandle
Properties
Handle
public UriOwnedHandle Handle { get; }
Property Value
Methods
AppendPath(string?)
[Version("1.6")]
public bool AppendPath(string? relativePath)
Parameters
relativePath
string
Returns
AppendPathSegment(string?)
[Version("1.6")]
public bool AppendPathSegment(string? pathSegment)
Parameters
pathSegment
string
Returns
Construct(string, string)
public static string Construct(string protocol, string location)
Parameters
Returns
Equal(Uri)
[Version("1.6")]
public bool Equal(Uri second)
Parameters
second
Uri
Returns
Equals(Uri?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Uri? other)
Parameters
other
UriAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
FromString(string)
[Version("1.6")]
public static Uri? FromString(string uri)
Parameters
uri
string
Returns
FromStringEscaped(string)
[Version("1.18")]
public static Uri? FromStringEscaped(string uri)
Parameters
uri
string
Returns
FromStringWithBase(string)
[Version("1.6")]
public Uri? FromStringWithBase(string uri)
Parameters
uri
string
Returns
GetFragment()
[Version("1.6")]
public string? GetFragment()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetHost()
[Version("1.6")]
public string? GetHost()
Returns
GetLocation(string)
public static string? GetLocation(string uri)
Parameters
uri
string
Returns
GetMediaFragmentTable()
[Version("1.12")]
public HashTable? GetMediaFragmentTable()
Returns
GetPath()
[Version("1.6")]
public string? GetPath()
Returns
GetPathSegments()
[Version("1.6")]
public List GetPathSegments()
Returns
GetPathString()
[Version("1.6")]
public string? GetPathString()
Returns
GetPort()
[Version("1.6")]
public uint GetPort()
Returns
GetProtocol(string)
public static string? GetProtocol(string uri)
Parameters
uri
string
Returns
GetQueryString()
[Version("1.6")]
public string? GetQueryString()
Returns
GetQueryTable()
[Version("1.6")]
public HashTable? GetQueryTable()
Returns
GetQueryValue(string)
[Version("1.6")]
public string? GetQueryValue(string queryKey)
Parameters
queryKey
string
Returns
GetScheme()
public string? GetScheme()
Returns
GetUserinfo()
[Version("1.6")]
public string? GetUserinfo()
Returns
HasProtocol(string, string)
public static bool HasProtocol(string uri, string protocol)
Parameters
Returns
IsNormalized()
[Version("1.6")]
public bool IsNormalized()
Returns
IsValid(string)
public static bool IsValid(string uri)
Parameters
uri
string
Returns
IsWritable()
[Version("1.6")]
public bool IsWritable()
Returns
Join(Uri?)
[Version("1.6")]
public Uri? Join(Uri? refUri)
Parameters
refUri
Uri
Returns
JoinStrings(string, string)
[Version("1.6")]
public static string? JoinStrings(string baseUri, string refUri)
Parameters
Returns
MakeWritable()
[Version("1.6")]
public Uri MakeWritable()
Returns
New(string?, string?, string?, uint, string?, string?, string?)
[Version("1.6")]
public static Uri New(string? scheme, string? userinfo, string? host, uint port, string? path, string? query, string? fragment)
Parameters
Returns
NewWithBase(string?, string?, string?, uint, string?, string?, string?)
[Version("1.6")]
public Uri NewWithBase(string? scheme, string? userinfo, string? host, uint port, string? path, string? query, string? fragment)
Parameters
Returns
Normalize()
[Version("1.6")]
public bool Normalize()
Returns
ProtocolIsSupported(URIType, string)
public static bool ProtocolIsSupported(URIType type, string protocol)
Parameters
Returns
ProtocolIsValid(string)
public static bool ProtocolIsValid(string protocol)
Parameters
protocol
string
Returns
QueryHasKey(string)
[Version("1.6")]
public bool QueryHasKey(string queryKey)
Parameters
queryKey
string
Returns
RemoveQueryKey(string)
[Version("1.6")]
public bool RemoveQueryKey(string queryKey)
Parameters
queryKey
string
Returns
SetFragment(string?)
[Version("1.6")]
public bool SetFragment(string? fragment)
Parameters
fragment
string
Returns
SetHost(string)
[Version("1.6")]
public bool SetHost(string host)
Parameters
host
string
Returns
SetPath(string?)
[Version("1.6")]
public bool SetPath(string? path)
Parameters
path
string
Returns
SetPathString(string)
[Version("1.6")]
public bool SetPathString(string path)
Parameters
path
string
Returns
SetPort(uint)
[Version("1.6")]
public bool SetPort(uint port)
Parameters
port
uint
Returns
SetQueryString(string?)
[Version("1.6")]
public bool SetQueryString(string? query)
Parameters
query
string
Returns
SetQueryTable(HashTable?)
[Version("1.6")]
public bool SetQueryTable(HashTable? queryTable)
Parameters
queryTable
HashTable
Returns
SetQueryValue(string, string?)
[Version("1.6")]
public bool SetQueryValue(string queryKey, string? queryValue)
Parameters
Returns
SetScheme(string)
[Version("1.6")]
public bool SetScheme(string scheme)
Parameters
scheme
string
Returns
SetUserinfo(string)
[Version("1.6")]
public bool SetUserinfo(string userinfo)
Parameters
userinfo
string
Returns
ToString()
[Version("1.6")]
public string ToString()