Class FileAttributeMatcher
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public sealed class FileAttributeMatcher : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<FileAttributeMatcher>, IDisposable
- Inheritance
-
FileAttributeMatcher
- Implements
- Inherited Members
Constructors
FileAttributeMatcher(FileAttributeMatcherOwnedHandle)
public FileAttributeMatcher(FileAttributeMatcherOwnedHandle handle)
Parameters
Properties
Handle
public FileAttributeMatcherOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
EnumerateNamespace(string)
public bool EnumerateNamespace(string ns)
Parameters
ns
string
Returns
EnumerateNext()
public string? EnumerateNext()
Returns
Equals(FileAttributeMatcher?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(FileAttributeMatcher? other)
Parameters
other
FileAttributeMatcherAn 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
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.
Matches(string)
public bool Matches(string attribute)
Parameters
attribute
string
Returns
MatchesOnly(string)
public bool MatchesOnly(string attribute)
Parameters
attribute
string
Returns
New(string)
public static FileAttributeMatcher New(string attributes)
Parameters
attributes
string
Returns
Ref()
public FileAttributeMatcher Ref()
Returns
Subtract(FileAttributeMatcher?)
public FileAttributeMatcher? Subtract(FileAttributeMatcher? subtract)
Parameters
subtract
FileAttributeMatcher
Returns
ToString()
[Version("2.32")]
public string ToString()
Returns
Unref()
public void Unref()