NSUrl 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.
[Foundation.Register("NSURL", true)]
public class NSUrl : Foundation.NSObject, Foundation.INSCopying, Foundation.INSItemProviderReading, Foundation.INSItemProviderWriting, Foundation.INSSecureCoding, IDisposable, IEquatable<Foundation.NSUrl>, QuickLook.IQLPreviewItem
[Foundation.Register("NSURL", true)]
public class NSUrl : Foundation.NSObject, AppKit.INSPasteboardReading, AppKit.INSPasteboardWriting, Foundation.INSCopying, Foundation.INSItemProviderReading, Foundation.INSItemProviderWriting, Foundation.INSSecureCoding, IDisposable, IEquatable<Foundation.NSUrl>, QuickLookUI.IQLPreviewItem
[Foundation.Register("NSURL", true)]
public class NSUrl : Foundation.NSObject, Foundation.INSCopying, Foundation.INSItemProviderReading, Foundation.INSItemProviderWriting, Foundation.INSSecureCoding, IDisposable, IEquatable<Foundation.NSUrl>
[<Foundation.Register("NSURL", true)>]
type NSUrl = class
inherit NSObject
interface IEquatable<NSUrl>
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSItemProviderReading
interface INSItemProviderWriting
interface INSSecureCoding
interface IQLPreviewItem
[<Foundation.Register("NSURL", true)>]
type NSUrl = class
inherit NSObject
interface IEquatable<NSUrl>
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSItemProviderReading
interface INSItemProviderWriting
interface INSSecureCoding
interface INSPasteboardReading
interface INSPasteboardWriting
interface IQLPreviewItem
[<Foundation.Register("NSURL", true)>]
type NSUrl = class
inherit NSObject
interface IEquatable<NSUrl>
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSItemProviderReading
interface INSItemProviderWriting
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| NSUrl(IntPtr, Boolean, NSUrl) | |
| NSUrl(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NSUrl(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| NSUrl(NSData, NSUrlBookmarkResolutionOptions, NSUrl, Boolean, NSError) | |
| NSUrl(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| NSUrl(String, Boolean, NSUrl) | |
| NSUrl(String, Boolean) | |
| NSUrl(String, NSUrl) | |
| NSUrl(String, String, String) | |
| NSUrl(String, String) | |
| NSUrl(String) | |
Properties
| AbsoluteString | |
| AbsoluteUrl | |
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AddedToDirectoryDateKey |
Represents the value associated with the constant NSURLAddedToDirectoryDateKey |
| AttributeModificationDateKey |
Represents the value associated with the constant NSURLAttributeModificationDateKey |
| BaseUrl | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ContentAccessDateKey |
Represents the value associated with the constant NSURLContentAccessDateKey |
| ContentModificationDateKey |
Represents the value associated with the constant NSURLContentModificationDateKey |
| ContentTypeKey |
Represents the value associated with the constant 'NSURLContentTypeKey'. |
| CreationDateKey |
Represents the value associated with the constant NSURLCreationDateKey |
| CustomIconKey |
Represents the value associated with the constant NSURLCustomIconKey |
| DataRepresentation | |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| DirectoryEntryCountKey |
Represents the value associated with the constant 'NSURLDirectoryEntryCountKey'. |
| DocumentIdentifierKey |
Represents the value associated with the constant NSURLDocumentIdentifierKey |
| EffectiveIconKey |
Represents the value associated with the constant NSURLEffectiveIconKey |
| ExposedBindings | (Inherited from NSObject) |
| FileAllocatedSizeKey |
Represents the value associated with the constant NSURLFileAllocatedSizeKey |
| FileContentIdentifierKey |
Represents the value associated with the constant 'NSURLFileContentIdentifierKey'. |
| FileIdentifierKey |
Represents the value associated with the constant 'NSURLFileIdentifierKey'. |
| FilePathUrl | |
| FileProtectionComplete | |
| FileProtectionCompleteUnlessOpen | |
| FileProtectionCompleteUntilFirstUserAuthentication | |
| FileProtectionCompleteWhenUserInactive |
Represents the value associated with the constant 'NSURLFileProtectionCompleteWhenUserInactive'. |
| FileProtectionKey | |
| FileProtectionNone | |
| FileReferenceUrl | |
| FileResourceIdentifierKey |
Represents the value associated with the constant NSURLFileResourceIdentifierKey |
| FileResourceTypeBlockSpecial |
Represents the value associated with the constant NSURLFileResourceTypeBlockSpecial |
| FileResourceTypeCharacterSpecial |
Represents the value associated with the constant NSURLFileResourceTypeCharacterSpecial |
| FileResourceTypeDirectory |
Represents the value associated with the constant NSURLFileResourceTypeDirectory |
| FileResourceTypeKey |
Represents the value associated with the constant NSURLFileResourceTypeKey |
| FileResourceTypeNamedPipe |
Represents the value associated with the constant NSURLFileResourceTypeNamedPipe |
| FileResourceTypeRegular |
Represents the value associated with the constant NSURLFileResourceTypeRegular |
| FileResourceTypeSocket |
Represents the value associated with the constant NSURLFileResourceTypeSocket |
| FileResourceTypeSymbolicLink |
Represents the value associated with the constant NSURLFileResourceTypeSymbolicLink |
| FileResourceTypeUnknown |
Represents the value associated with the constant NSURLFileResourceTypeUnknown |
| FileSecurityKey |
Represents the value associated with the constant NSURLFileSecurityKey |
| FileSizeKey |
Represents the value associated with the constant NSURLFileSizeKey |
| Fragment | |
| GenerationIdentifierKey |
Represents the value associated with the constant NSURLGenerationIdentifierKey |
| GetFileSystemRepresentationAsUtf8Ptr | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HasDirectoryPath | |
| HasHiddenExtensionKey |
Represents the value associated with the constant NSURLHasHiddenExtensionKey |
| Host | |
| IsAliasFileKey |
Represents the value associated with the constant NSURLIsAliasFileKey |
| IsApplicationKey | |
| IsDirectBinding | (Inherited from NSObject) |
| IsDirectoryKey |
Represents the value associated with the constant NSURLIsDirectoryKey |
| IsExcludedFromBackupKey |
Represents the value associated with the constant NSURLIsExcludedFromBackupKey |
| IsExecutableKey |
Represents the value associated with the constant NSURLIsExecutableKey |
| IsFileReferenceUrl | |
| IsFileUrl |
Whether this NSUrl uses the file scheme. |
| IsHiddenKey |
Represents the value associated with the constant NSURLIsHiddenKey |
| IsMountTriggerKey |
Represents the value associated with the constant NSURLIsMountTriggerKey |
| IsPackageKey |
Represents the value associated with the constant NSURLIsPackageKey |
| IsProxy | (Inherited from NSObject) |
| IsPurgeableKey |
Represents the value associated with the constant 'NSURLIsPurgeableKey'. |
| IsReadableKey |
Represents the value associated with the constant NSURLIsReadableKey |
| IsRegularFileKey |
Represents the value associated with the constant NSURLIsRegularFileKey |
| IsSparseKey |
Represents the value associated with the constant 'NSURLIsSparseKey'. |
| IsSymbolicLinkKey |
Represents the value associated with the constant NSURLIsSymbolicLinkKey |
| IsSystemImmutableKey |
Represents the value associated with the constant NSURLIsSystemImmutableKey |
| IsUbiquitousItemKey |
Represents the value associated with the constant NSURLIsUbiquitousItemKey |
| IsUserImmutableKey |
Represents the value associated with the constant NSURLIsUserImmutableKey |
| IsVolumeKey |
Represents the value associated with the constant NSURLIsVolumeKey |
| IsWritableKey |
Represents the value associated with the constant NSURLIsWritableKey |
| KeysOfUnsetValuesKey |
Represents the value associated with the constant NSURLKeysOfUnsetValuesKey |
| LabelColorKey |
Represents the value associated with the constant NSURLLabelColorKey |
| LabelNumberKey |
Represents the value associated with the constant NSURLLabelNumberKey |
| LastPathComponent | |
| LinkCountKey |
Represents the value associated with the constant NSURLLinkCountKey |
| LocalizedLabelKey |
Represents the value associated with the constant NSURLLocalizedLabelKey |
| LocalizedNameKey |
Represents the value associated with the constant NSURLLocalizedNameKey |
| LocalizedTypeDescriptionKey |
Represents the value associated with the constant NSURLLocalizedTypeDescriptionKey |
| MayHaveExtendedAttributesKey |
Represents the value associated with the constant 'NSURLMayHaveExtendedAttributesKey'. |
| MayShareFileContentKey |
Represents the value associated with the constant 'NSURLMayShareFileContentKey'. |
| NameKey |
Represents the value associated with the constant NSURLNameKey |
| ParameterString | |
| ParentDirectoryURLKey |
Represents the value associated with the constant NSURLParentDirectoryURLKey |
| Password | |
| Path | |
| PathComponents | |
| PathExtension | |
| PathKey |
Represents the value associated with the constant NSURLPathKey |
| Port | |
| PreferredIOBlockSizeKey |
Represents the value associated with the constant NSURLPreferredIOBlockSizeKey |
| PreviewItemDisplayState | |
| PreviewItemTitle |
Gets the title for the preview item. |
| PreviewItemUrl |
Gets the URL for the preview item. |
| Query | |
| ReadableTypeIdentifiers | |
| RelativePath | |
| RelativeString | |
| ResourceSpecifier | |
| RetainCount | (Inherited from NSObject) |
| Scheme | |
| Self | (Inherited from NSObject) |
| StandardizedUrl | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| ThumbnailDictionaryKey |
Represents the value associated with the constant NSURLThumbnailDictionaryKey |
| TotalFileAllocatedSizeKey |
Represents the value associated with the constant NSURLTotalFileAllocatedSizeKey |
| TotalFileSizeKey |
Represents the value associated with the constant NSURLTotalFileSizeKey |
| TypeIdentifierKey |
Represents the value associated with the constant NSURLTypeIdentifierKey |
| UbiquitousItemContainerDisplayNameKey |
Represents the value associated with the constant NSURLUbiquitousItemContainerDisplayNameKey |
| UbiquitousItemDownloadingErrorKey |
Represents the value associated with the constant NSURLUbiquitousItemDownloadingErrorKey |
| UbiquitousItemDownloadingStatusCurrent |
Represents the value associated with the constant NSURLUbiquitousItemDownloadingStatusCurrent |
| UbiquitousItemDownloadingStatusDownloaded |
Represents the value associated with the constant NSURLUbiquitousItemDownloadingStatusDownloaded |
| UbiquitousItemDownloadingStatusKey |
Represents the value associated with the constant NSURLUbiquitousItemDownloadingStatusKey |
| UbiquitousItemDownloadingStatusNotDownloaded |
Represents the value associated with the constant NSURLUbiquitousItemDownloadingStatusNotDownloaded |
| UbiquitousItemDownloadRequestedKey |
Represents the value associated with the constant NSURLUbiquitousItemDownloadRequestedKey |
| UbiquitousItemHasUnresolvedConflictsKey |
Represents the value associated with the constant NSURLUbiquitousItemHasUnresolvedConflictsKey |
| UbiquitousItemIsDownloadedKey |
Represents the value associated with the constant NSURLUbiquitousItemIsDownloadedKey |
| UbiquitousItemIsDownloadingKey |
Developers should not use this deprecated property. |
| UbiquitousItemIsExcludedFromSyncKey |
Represents the value associated with the constant 'NSURLUbiquitousItemIsExcludedFromSyncKey'. |
| UbiquitousItemIsSharedKey | |
| UbiquitousItemIsSyncPausedKey |
Represents the value associated with the constant 'NSURLUbiquitousItemIsSyncPausedKey'. |
| UbiquitousItemIsUploadedKey |
Represents the value associated with the constant NSURLUbiquitousItemIsUploadedKey |
| UbiquitousItemIsUploadingKey |
Represents the value associated with the constant NSURLUbiquitousItemIsUploadingKey |
| UbiquitousItemPercentDownloadedKey |
Represents the value associated with the constant NSURLUbiquitousItemPercentDownloadedKey |
| UbiquitousItemPercentUploadedKey |
Represents the value associated with the constant NSURLUbiquitousItemPercentUploadedKey |
| UbiquitousItemSupportedSyncControlsKey |
Represents the value associated with the constant 'NSURLUbiquitousItemSupportedSyncControlsKey'. |
| UbiquitousItemUploadingErrorKey |
Represents the value associated with the constant NSURLUbiquitousItemUploadingErrorKey |
| UbiquitousSharedItemCurrentUserPermissionsKey | |
| UbiquitousSharedItemCurrentUserRoleKey | |
| UbiquitousSharedItemMostRecentEditorNameComponentsKey | |
| UbiquitousSharedItemOwnerNameComponentsKey | |
| UbiquitousSharedItemPermissionsReadOnly | |
| UbiquitousSharedItemPermissionsReadWrite | |
| UbiquitousSharedItemRoleOwner | |
| UbiquitousSharedItemRoleParticipant | |
| User | |
| VolumeAvailableCapacityForImportantUsageKey | |
| VolumeAvailableCapacityForOpportunisticUsageKey | |
| VolumeAvailableCapacityKey |
Represents the value associated with the constant NSURLVolumeAvailableCapacityKey |
| VolumeCreationDateKey |
Represents the value associated with the constant NSURLVolumeCreationDateKey |
| VolumeIdentifierKey |
Represents the value associated with the constant NSURLVolumeIdentifierKey |
| VolumeIsAutomountedKey |
Represents the value associated with the constant NSURLVolumeIsAutomountedKey |
| VolumeIsBrowsableKey |
Represents the value associated with the constant NSURLVolumeIsBrowsableKey |
| VolumeIsEjectableKey |
Represents the value associated with the constant NSURLVolumeIsEjectableKey |
| VolumeIsEncryptedKey | |
| VolumeIsInternalKey |
Represents the value associated with the constant NSURLVolumeIsInternalKey |
| VolumeIsJournalingKey |
Represents the value associated with the constant NSURLVolumeIsJournalingKey |
| VolumeIsLocalKey |
Represents the value associated with the constant NSURLVolumeIsLocalKey |
| VolumeIsReadOnlyKey |
Represents the value associated with the constant NSURLVolumeIsReadOnlyKey |
| VolumeIsRemovableKey |
Represents the value associated with the constant NSURLVolumeIsRemovableKey |
| VolumeIsRootFileSystemKey | |
| VolumeLocalizedFormatDescriptionKey |
Represents the value associated with the constant NSURLVolumeLocalizedFormatDescriptionKey |
| VolumeLocalizedNameKey |
Represents the value associated with the constant NSURLVolumeLocalizedNameKey |
| VolumeMaximumFileSizeKey |
Represents the value associated with the constant NSURLVolumeMaximumFileSizeKey |
| VolumeMountFromLocationKey |
Represents the value associated with the constant 'NSURLVolumeMountFromLocationKey'. |
| VolumeNameKey |
Represents the value associated with the constant NSURLVolumeNameKey |
| VolumeResourceCountKey |
Represents the value associated with the constant NSURLVolumeResourceCountKey |
| VolumeSubtypeKey |
Represents the value associated with the constant 'NSURLVolumeSubtypeKey'. |
| VolumeSupportsAccessPermissionsKey | |
| VolumeSupportsAdvisoryFileLockingKey |
Represents the value associated with the constant NSURLVolumeSupportsAdvisoryFileLockingKey |
| VolumeSupportsCasePreservedNamesKey |
Represents the value associated with the constant NSURLVolumeSupportsCasePreservedNamesKey |
| VolumeSupportsCaseSensitiveNamesKey |
Represents the value associated with the constant NSURLVolumeSupportsCaseSensitiveNamesKey |
| VolumeSupportsCompressionKey | |
| VolumeSupportsExclusiveRenamingKey | |
| VolumeSupportsExtendedSecurityKey |
Represents the value associated with the constant NSURLVolumeSupportsExtendedSecurityKey |
| VolumeSupportsFileCloningKey | |
| VolumeSupportsFileProtectionKey |
Represents the value associated with the constant 'NSURLVolumeSupportsFileProtectionKey'. |
| VolumeSupportsHardLinksKey |
Represents the value associated with the constant NSURLVolumeSupportsHardLinksKey |
| VolumeSupportsImmutableFilesKey | |
| VolumeSupportsJournalingKey |
Represents the value associated with the constant NSURLVolumeSupportsJournalingKey |
| VolumeSupportsPersistentIDsKey |
Represents the value associated with the constant NSURLVolumeSupportsPersistentIDsKey |
| VolumeSupportsRenamingKey |
Represents the value associated with the constant NSURLVolumeSupportsRenamingKey |
| VolumeSupportsRootDirectoryDatesKey |
Represents the value associated with the constant NSURLVolumeSupportsRootDirectoryDatesKey |
| VolumeSupportsSparseFilesKey |
Represents the value associated with the constant NSURLVolumeSupportsSparseFilesKey |
| VolumeSupportsSwapRenamingKey | |
| VolumeSupportsSymbolicLinksKey |
Represents the value associated with the constant NSURLVolumeSupportsSymbolicLinksKey |
| VolumeSupportsVolumeSizesKey |
Represents the value associated with the constant NSURLVolumeSupportsVolumeSizesKey |
| VolumeSupportsZeroRunsKey |
Represents the value associated with the constant NSURLVolumeSupportsZeroRunsKey |
| VolumeTotalCapacityKey |
Represents the value associated with the constant NSURLVolumeTotalCapacityKey |
| VolumeTypeNameKey |
Represents the value associated with the constant 'NSURLVolumeTypeNameKey'. |
| VolumeURLForRemountingKey |
Represents the value associated with the constant NSURLVolumeURLForRemountingKey |
| VolumeURLKey |
Represents the value associated with the constant NSURLVolumeURLKey |
| VolumeUUIDStringKey |
Represents the value associated with the constant NSURLVolumeUUIDStringKey |
| WritableTypeIdentifiers | |
| WritableTypeIdentifiersForItemProvider | |
| Zone | (Inherited from NSObject) |
Methods
Operators
| Equality(NSUrl, NSUrl) | |
| Implicit(NSUrl to Uri) | |
| Implicit(Uri to NSUrl) | |
| Inequality(NSUrl, NSUrl) |