Share via


CFUrl Class

Definition

URL class used by C-only Cocoa APIs.

public class CFUrl : CoreFoundation.NativeObject
type CFUrl = class
    inherit NativeObject
Inheritance

Properties

Name Description
FileSystemPath
Handle (Inherited from DisposableObject)
IsFileReference
Owns (Inherited from DisposableObject)

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
FromFile(String)

Creates a CFUrl from a pathname.

FromUrlString(String, CFUrl)

Creates a CFUrl from a string and a base URL.

GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
GetTypeID()

Type identifier for the CoreFoundation.CFUrl type.

InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)
ToString()

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to