Class PathBuf
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class PathBuf
- Inheritance
-
PathBuf
- Inherited Members
Constructors
PathBuf()
public PathBuf()
PathBuf(PathBufOwnedHandle)
public PathBuf(PathBufOwnedHandle handle)
Parameters
handle
PathBufOwnedHandle
Properties
Handle
public PathBufOwnedHandle Handle { get; }
Property Value
Methods
Clear()
[Version("2.76")]
public void Clear()
ClearToPath()
[Version("2.76")]
public string? ClearToPath()
Returns
Copy()
[Version("2.76")]
public PathBuf Copy()
Returns
Equal(IntPtr, IntPtr)
[Version("2.76")]
public static bool Equal(IntPtr v1, IntPtr v2)
Parameters
Returns
Equals(PathBuf?)
public bool Equals(PathBuf? other)
Parameters
other
PathBuf
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Init()
[Version("2.76")]
public PathBuf Init()
Returns
InitFromPath(string?)
[Version("2.76")]
public PathBuf InitFromPath(string? path)
Parameters
path
string
Returns
New()
[Version("2.76")]
public static PathBuf New()
Returns
NewFromPath(string?)
[Version("2.76")]
public static PathBuf NewFromPath(string? path)
Parameters
path
string
Returns
Pop()
[Version("2.76")]
public bool Pop()
Returns
Push(string)
[Version("2.76")]
public PathBuf Push(string path)
Parameters
path
string
Returns
SetExtension(string?)
[Version("2.76")]
public bool SetExtension(string? extension)
Parameters
extension
string
Returns
SetFilename(string)
[Version("2.76")]
public bool SetFilename(string fileName)
Parameters
fileName
string
Returns
ToPath()
[Version("2.76")]
public string? ToPath()