NSUrl 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
- 繼承
- 屬性
- 實作
建構函式
| 名稱 | Description |
|---|---|
| NSUrl(IntPtr, Boolean, NSUrl) | |
| NSUrl(NativeHandle) |
一種用於建立未受管理物件的受管理表示的建構器。 由執行時呼叫。 |
| NSUrl(NSCoder) |
一個建構器,能從未封存物件中儲存的資料初始化物件。 |
| NSUrl(NSData, NSUrlBookmarkResolutionOptions, NSUrl, Boolean, NSError) | |
| NSUrl(NSObjectFlag) |
用來呼叫衍生類別跳過初始化,僅僅配置物件。 |
| NSUrl(String, Boolean, NSUrl) | |
| NSUrl(String, Boolean) | |
| NSUrl(String, NSUrl) | |
| NSUrl(String, String, String) | |
| NSUrl(String, String) | |
| NSUrl(String) | |
屬性
| 名稱 | Description |
|---|---|
| AbsoluteString | |
| AbsoluteUrl | |
| AccessibilityAttributedUserInputLabels | (繼承來源 NSObject) |
| AccessibilityRespondsToUserInteraction | (繼承來源 NSObject) |
| AccessibilityTextualContext | (繼承來源 NSObject) |
| AccessibilityUserInputLabels | (繼承來源 NSObject) |
| AddedToDirectoryDateKey |
代表與常數 NSURLAddedToDirectoryDateKey 相關的值 |
| AttributeModificationDateKey |
代表與常數 NSURLAttributeModificationDateKey 相關的值 |
| BaseUrl | |
| Class | (繼承來源 NSObject) |
| ClassHandle |
Objective-C 類別是這個類別的處理方式。 |
| ContentAccessDateKey |
代表與常數 NSURLContentAccessDateKey 相關的值 |
| ContentModificationDateKey |
代表與常數 NSURLContentModificationDateKey 相關的值 |
| ContentTypeKey |
代表與常數 'NSURLContentTypeKey' 相關的值。 |
| CreationDateKey |
代表與常數 NSURLCreationDateKey 相關的值 |
| CustomIconKey |
代表與常數 NSURLCustomIconKey 相關的值 |
| DataRepresentation | |
| DebugDescription | (繼承來源 NSObject) |
| Description | (繼承來源 NSObject) |
| DirectoryEntryCountKey |
代表與常數「NSURLDirectoryEntryCountKey」相關的值。 |
| DocumentIdentifierKey |
代表與常數 NSURLDocumentIdentifierKey 相關的值 |
| EffectiveIconKey |
代表與常數 NSURLEffectiveIconKey 相關的值 |
| ExposedBindings | (繼承來源 NSObject) |
| FileAllocatedSizeKey |
代表與常數 NSURLFileAllocatedSizeKey 相關的值 |
| FileContentIdentifierKey |
代表與常數「NSURLFileContentIdentifierKey」相關聯的值。 |
| FileIdentifierKey |
代表與常數「NSURLFileIdentifierKey」相關的值。 |
| FilePathUrl | |
| FileProtectionComplete | |
| FileProtectionCompleteUnlessOpen | |
| FileProtectionCompleteUntilFirstUserAuthentication | |
| FileProtectionCompleteWhenUserInactive |
代表與常數「NSURLFileProtectionCompleteWhenUserInactive」相關的值。 |
| FileProtectionKey | |
| FileProtectionNone | |
| FileReferenceUrl | |
| FileResourceIdentifierKey |
代表與常數 NSURLFileResourceIdentifierKey 相關的值 |
| FileResourceTypeBlockSpecial |
代表與常數 NSURLFileResourceTypeBlockSpecial 相關的值 |
| FileResourceTypeCharacterSpecial |
代表與常數 NSURLFileResourceTypeCharacterSpecial 相關的值 |
| FileResourceTypeDirectory |
代表與常數 NSURLFileResourceTypeDirectory 相關的值 |
| FileResourceTypeKey |
代表與常數 NSURLFileResourceTypeKey 相關的值 |
| FileResourceTypeNamedPipe |
代表與常數 NSURLFileResourceTypeNamedPipe 相關的值 |
| FileResourceTypeRegular |
代表與常數 NSURLFileResourceTypeRegular 相關的值 |
| FileResourceTypeSocket |
代表與常數 NSURLFileResourceTypeSocket 相關的值 |
| FileResourceTypeSymbolicLink |
代表與常數 NSURLFileResourceTypeSymbolicLink 相關的值 |
| FileResourceTypeUnknown |
代表與常數 NSURLFileResourceTypeUnknown 相關的值 |
| FileSecurityKey |
代表與常數 NSURLFileSecurityKey 相關的值 |
| FileSizeKey |
代表與常數 NSURLFileSizeKey 相關的值 |
| Fragment | |
| GenerationIdentifierKey |
代表與常數 NSURLGenerationIdentifierKey 相關的值 |
| GetFileSystemRepresentationAsUtf8Ptr | |
| Handle |
Handle(指標)指向未管理物件表示。 (繼承來源 NSObject) |
| HasDirectoryPath | |
| HasHiddenExtensionKey |
代表與常數 NSURLHasHiddenExtensionKey 相關的值 |
| Host | |
| IsAliasFileKey |
代表與常數 NSURLIsAliasFileKey 相關的值 |
| IsApplicationKey | |
| IsDirectBinding |
取得或設定一個值,指示此實例是否使用直接 Objective-C 綁定。 (繼承來源 NSObject) |
| IsDirectoryKey |
代表與常數 NSURLIsDirectoryKey 相關的值 |
| IsExcludedFromBackupKey |
代表與常數 NSURLIsExcludedFromBackupKey 相關的值 |
| IsExecutableKey |
代表與常數 NSURLIsExecutableKey 相關的值 |
| IsFileReferenceUrl | |
| IsFileUrl |
該 NSUrl 是否使用檔案格式。 |
| IsHiddenKey |
代表與常數 NSURLIsHiddenKey 相關的值 |
| IsMountTriggerKey |
代表與常數 NSURLIsMountTriggerKey 相關的值 |
| IsPackageKey |
代表與常數 NSURLIsPackageKey 相關的值 |
| IsProxy | (繼承來源 NSObject) |
| IsPurgeableKey |
代表與常數 'NSURLIsPurgeableKey' 相關的值。 |
| IsReadableKey |
代表與常數 NSURLIsReadableKey 相關的值 |
| IsRegularFileKey |
代表與常數 NSURLIsRegularFileKey 相關的值 |
| IsSparseKey |
代表與常數 'NSURLIsSparseKey' 相關的值。 |
| IsSymbolicLinkKey |
代表與常數 NSURLIsSymbolicLinkKey 相關的值 |
| IsSystemImmutableKey |
代表與常數 NSURLIsSystemImmutableKey 相關的值 |
| IsUbiquitousItemKey |
代表與常數 NSURLIsUbiquitousItemKey 相關的值 |
| IsUserImmutableKey |
代表與常數 NSURLIsUserImmutableKey 相關的值 |
| IsVolumeKey |
代表與常數 NSURLIsVolumeKey 相關的值 |
| IsWritableKey |
代表與常數 NSURLIsWritableKey 相關的值 |
| KeysOfUnsetValuesKey |
代表與常數 NSURLKeysOfUnsetValuesKey 相關的值 |
| LabelColorKey |
代表與常數 NSURLLabelColorKey 相關的值 |
| LabelNumberKey |
代表與常數 NSURLLabelNumberKey 相關的值 |
| LastPathComponent | |
| LinkCountKey |
代表與常數 NSURLLinkCountKey 相關的值 |
| LocalizedLabelKey |
代表與常數 NSURLLocalizedLabelKey 相關的值 |
| LocalizedNameKey |
代表與常數 NSURLLocalizedNameKey 相關的值 |
| LocalizedTypeDescriptionKey |
代表與常數 NSURLLocalizedTypeDescriptionKey 相關的值 |
| MayHaveExtendedAttributesKey |
代表與常數「NSURLMayHaveExtendedAttributesKey」相關的值。 |
| MayShareFileContentKey |
代表與常數「NSURLMayShareFileContentKey」相關的值。 |
| NameKey |
代表與常數 NSURLNameKey 相關的值 |
| ParameterString | |
| ParentDirectoryURLKey |
代表與常數 NSURLParentDirectoryURLKey 相關聯的值 |
| Password | |
| Path | |
| PathComponents | |
| PathExtension | |
| PathKey |
代表與常數 NSURLPathKey 相關的值 |
| Port | |
| PreferredIOBlockSizeKey |
代表與常數 NSURLPreferedIOBlockSizeKey 相關的值 |
| PreviewItemDisplayState | |
| PreviewItemTitle |
他獲得了預覽項目的標題。 |
| PreviewItemUrl |
取得預覽項目的網址。 |
| Query | |
| ReadableTypeIdentifiers | |
| RelativePath | |
| RelativeString | |
| ResourceSpecifier | |
| RetainCount | (繼承來源 NSObject) |
| Scheme | |
| Self | (繼承來源 NSObject) |
| StandardizedUrl | |
| Superclass | (繼承來源 NSObject) |
| SuperHandle |
用 handle 表示此 NSObject基底類別中的方法。 (繼承來源 NSObject) |
| ThumbnailDictionaryKey |
代表與常數 NSURLThumbnailDictionaryKey 相關的值 |
| TotalFileAllocatedSizeKey |
代表與常數 NSURLTotalFileAllocatedSizeKey 相關的值 |
| TotalFileSizeKey |
代表與常數 NSURLTotalFileSizeKey 相關的值 |
| TypeIdentifierKey |
代表與常數 NSURLTypeIdentifierKey 相關的值 |
| UbiquitousItemContainerDisplayNameKey |
代表與常數 NSURLUbiquitousItemContainerDisplayNameKey 相關的值 |
| UbiquitousItemDownloadingErrorKey |
代表與常數 NSURLUbiquitousItemDownloadingErrorKey 相關的值 |
| UbiquitousItemDownloadingStatusCurrent |
代表與常數 NSURLUbiquitousItemDownloadingStatusCurrent 相關的值 |
| UbiquitousItemDownloadingStatusDownloaded |
代表與常數 NSURLUbiquitousItemDownloadingStatusDownloaded 相關的值 |
| UbiquitousItemDownloadingStatusKey |
代表與常數 NSURLUbiquitousItemDownloadingStatusKey 相關的值 |
| UbiquitousItemDownloadingStatusNotDownloaded |
代表與常數 NSURLUbiquitousItemDownloadingStatusNotDownloaded 相關的值 |
| UbiquitousItemDownloadRequestedKey |
代表與常數 NSURLUbiquitousItemDownloadRequestedKey 相關的值 |
| UbiquitousItemHasUnresolvedConflictsKey |
代表與常數 NSURLUbiquitousItemHasUnresolvedConflictsKey 相關的值 |
| UbiquitousItemIsDownloadedKey |
代表與常數 NSURLUbiquitousItemIsDownloadedKey 相關的值 |
| UbiquitousItemIsDownloadingKey |
開發者不應使用這個已棄用的特性。 |
| UbiquitousItemIsExcludedFromSyncKey |
代表與常數「NSURLUbiquitousItemIsExclusiondFromSyncKey」相關的值。 |
| UbiquitousItemIsSharedKey | |
| UbiquitousItemIsSyncPausedKey |
代表與常數「NSURLUbiquitousItemIsSyncPausedKey」相關的值。 |
| UbiquitousItemIsUploadedKey |
代表與常數 NSURLUbiquitousItemIsUploadedKey 相關的值 |
| UbiquitousItemIsUploadingKey |
代表與常數 NSURLUbiquitousItemIsUploadingKey 相關的值 |
| UbiquitousItemPercentDownloadedKey |
代表與常數 NSURLUbiquitousItemPercentDownloadedKey 相關的值 |
| UbiquitousItemPercentUploadedKey |
代表與常數 NSURLUbiquitousItemPercentUploadedKey 相關的值 |
| UbiquitousItemSupportedSyncControlsKey |
代表與常數「NSURLUbiquitousItemSupportedSyncControlsKey」相關的值。 |
| UbiquitousItemUploadingErrorKey |
代表與常數 NSURLUbiquitousItemUploadingErrorKey 相關的值 |
| UbiquitousSharedItemCurrentUserPermissionsKey | |
| UbiquitousSharedItemCurrentUserRoleKey | |
| UbiquitousSharedItemMostRecentEditorNameComponentsKey | |
| UbiquitousSharedItemOwnerNameComponentsKey | |
| UbiquitousSharedItemPermissionsReadOnly | |
| UbiquitousSharedItemPermissionsReadWrite | |
| UbiquitousSharedItemRoleOwner | |
| UbiquitousSharedItemRoleParticipant | |
| User | |
| VolumeAvailableCapacityForImportantUsageKey | |
| VolumeAvailableCapacityForOpportunisticUsageKey | |
| VolumeAvailableCapacityKey |
代表與常數 NSURLVolumeAvailableCapacityKey 相關的值 |
| VolumeCreationDateKey |
代表與常數 NSURLVolumeCreationDateKey 相關的值 |
| VolumeIdentifierKey |
代表與常數 NSURLVolumeIdentifierKey 相關的值 |
| VolumeIsAutomountedKey |
代表與常數 NSURLVolumeIsAutomountedKey 相關的值 |
| VolumeIsBrowsableKey |
代表與常數 NSURLVolumeIsBrowsableKey 相關的值 |
| VolumeIsEjectableKey |
代表與常數 NSURLVolumeIsEjectableKey 相關聯的值 |
| VolumeIsEncryptedKey | |
| VolumeIsInternalKey |
代表與常數 NSURLVolumeIsInternalKey 相關的值 |
| VolumeIsJournalingKey |
代表與常數 NSURLVolumeIsJournalingKey 相關的值 |
| VolumeIsLocalKey |
代表與常數 NSURLVolumeIsLocalKey 相關的值 |
| VolumeIsReadOnlyKey |
代表與常數 NSURLVolumeIsReadOnlyKey 相關的值 |
| VolumeIsRemovableKey |
代表與常數 NSURLVolumeIsRemovableKey 相關的值 |
| VolumeIsRootFileSystemKey | |
| VolumeLocalizedFormatDescriptionKey |
代表與常數 NSURLVolumeLocalizedFormatDescriptionKey 相關的值 |
| VolumeLocalizedNameKey |
代表與常數 NSURLVolumeLocalizedNameKey 相關的值 |
| VolumeMaximumFileSizeKey |
代表與常數 NSURLVolumeMaximumFileSizeKey 相關的值 |
| VolumeMountFromLocationKey |
代表與常數 'NSURLVolumeMountFromLocationKey' 相關的值。 |
| VolumeNameKey |
代表與常數 NSURLVolumeNameKey 相關的值 |
| VolumeResourceCountKey |
代表與常數 NSURLVolumeResourceCountKey 相關的值 |
| VolumeSubtypeKey |
代表與常數「NSURLVolumeSubtypeKey」相關的值。 |
| VolumeSupportsAccessPermissionsKey | |
| VolumeSupportsAdvisoryFileLockingKey |
代表與常數 NSURLVolumeSupportsAdvisoryFileLockingKey 相關的值 |
| VolumeSupportsCasePreservedNamesKey |
代表與常數 NSURLVolumeSupportsCasePreservedNamesKey 相關的值 |
| VolumeSupportsCaseSensitiveNamesKey |
代表與常數 NSURLVolumeSupportsCaseSensitiveNamesKey 相關的值 |
| VolumeSupportsCompressionKey | |
| VolumeSupportsExclusiveRenamingKey | |
| VolumeSupportsExtendedSecurityKey |
代表與常數 NSURLVolumeSupportsExtendedSecurityKey 相關的值 |
| VolumeSupportsFileCloningKey | |
| VolumeSupportsFileProtectionKey |
代表與常數「NSURLVolumeSupportsFileProtectionKey」相關的值。 |
| VolumeSupportsHardLinksKey |
代表與常數 NSURLVolumeSupportsHardLinksKey 相關的值 |
| VolumeSupportsImmutableFilesKey | |
| VolumeSupportsJournalingKey |
代表與常數 NSURLVolumeSupportsJournalingKey 相關的值 |
| VolumeSupportsPersistentIDsKey |
代表與常數 NSURLVolumeSupportsPersistentIDsKey 相關的值 |
| VolumeSupportsRenamingKey |
代表與常數 NSURLVolumeSupportsRenamingKey 相關的值 |
| VolumeSupportsRootDirectoryDatesKey |
代表與常數 NSURLVolumeSupportsRootDirectoryDatesKey 相關的值 |
| VolumeSupportsSparseFilesKey |
代表與常數 NSURLVolumeSupportsSparseFilesKey 相關的值 |
| VolumeSupportsSwapRenamingKey | |
| VolumeSupportsSymbolicLinksKey |
代表與常數 NSURLVolumeSupportsSymbolicLinksKey 相關的值 |
| VolumeSupportsVolumeSizesKey |
代表與常數 NSURLVolumeSupportsVolumeSizesKey 相關的值 |
| VolumeSupportsZeroRunsKey |
代表與常數 NSURLVolumeSupportsZeroRunsKey 相關的值 |
| VolumeTotalCapacityKey |
代表與常數 NSURLVolumeTotalCapacityKey 相關的值 |
| VolumeTypeNameKey |
代表與常數 'NSURLVolumeTypeNameKey' 相關的值。 |
| VolumeURLForRemountingKey |
代表與常數 NSURLVolumeURLForRemountingKey 相關的值 |
| VolumeURLKey |
代表與常數 NSURLVolumeURLKey 相關的值 |
| VolumeUUIDStringKey |
代表與常數 NSURLVolumeUUIDStringKey 相關的值 |
| WritableTypeIdentifiers | |
| WritableTypeIdentifiersForItemProvider | |
| Zone | (繼承來源 NSObject) |
方法
運算子
| 名稱 | Description |
|---|---|
| Equality(NSUrl, NSUrl) | |
| Implicit(NSUrl to Uri) | |
| Implicit(Uri to NSUrl) | |
| Inequality(NSUrl, NSUrl) | |