CFUrl Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |