NSUrl Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
[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
- Dziedziczenie
- Atrybuty
- Implementuje
Konstruktory
| Nazwa | Opis |
|---|---|
| NSUrl(IntPtr, Boolean, NSUrl) | |
| NSUrl(NativeHandle) |
Konstruktor używany podczas tworzenia zarządzanych reprezentacji niezarządzanych obiektów. Wywoływane przez środowisko uruchomieniowe. |
| NSUrl(NSCoder) |
Konstruktor, który inicjuje obiekt z danych przechowywanych w obiekcie unarchiver. |
| NSUrl(NSData, NSUrlBookmarkResolutionOptions, NSUrl, Boolean, NSError) | |
| NSUrl(NSObjectFlag) |
Konstruktor do wywołania klas pochodnych, aby pominąć inicjowanie i jedynie przydzielić obiekt. |
| NSUrl(String, Boolean, NSUrl) | |
| NSUrl(String, Boolean) | |
| NSUrl(String, NSUrl) | |
| NSUrl(String, String, String) | |
| NSUrl(String, String) | |
| NSUrl(String) | |
Właściwości
| Nazwa | Opis |
|---|---|
| AbsoluteString | |
| AbsoluteUrl | |
| AccessibilityAttributedUserInputLabels | (Odziedziczone po NSObject) |
| AccessibilityRespondsToUserInteraction | (Odziedziczone po NSObject) |
| AccessibilityTextualContext | (Odziedziczone po NSObject) |
| AccessibilityUserInputLabels | (Odziedziczone po NSObject) |
| AddedToDirectoryDateKey |
Reprezentuje wartość skojarzona z stałą NSURLAddedToDirectoryDateKey |
| AttributeModificationDateKey |
Reprezentuje wartość skojarzona z stałą NSURLAttributeModificationDateKey |
| BaseUrl | |
| Class | (Odziedziczone po NSObject) |
| ClassHandle |
Uchwyt klasy Objective-C dla tej klasy. |
| ContentAccessDateKey |
Reprezentuje wartość skojarzona z stałą NSURLContentAccessDateKey |
| ContentModificationDateKey |
Reprezentuje wartość skojarzona z stałą NSURLContentModificationDateKey |
| ContentTypeKey |
Reprezentuje wartość skojarzona z stałą "NSURLContentTypeKey". |
| CreationDateKey |
Reprezentuje wartość skojarzona z stałą NSURLCreationDateKey |
| CustomIconKey |
Reprezentuje wartość skojarzona z stałą NSURLCustomIconKey |
| DataRepresentation | |
| DebugDescription | (Odziedziczone po NSObject) |
| Description | (Odziedziczone po NSObject) |
| DirectoryEntryCountKey |
Reprezentuje wartość skojarzoną z stałą "NSURLDirectoryEntryCountKey". |
| DocumentIdentifierKey |
Reprezentuje wartość skojarzona z stałą NSURLDocumentIdentifierKey |
| EffectiveIconKey |
Reprezentuje wartość skojarzona z stałą NSURLEffectiveIconKey |
| ExposedBindings | (Odziedziczone po NSObject) |
| FileAllocatedSizeKey |
Reprezentuje wartość skojarzona z stałą NSURLFileAllocatedSizeKey |
| FileContentIdentifierKey |
Reprezentuje wartość skojarzona z stałą "NSURLFileContentIdentifierKey". |
| FileIdentifierKey |
Reprezentuje wartość skojarzona z stałą "NSURLFileIdentifierKey". |
| FilePathUrl | |
| FileProtectionComplete | |
| FileProtectionCompleteUnlessOpen | |
| FileProtectionCompleteUntilFirstUserAuthentication | |
| FileProtectionCompleteWhenUserInactive |
Reprezentuje wartość skojarzona z stałą "NSURLFileProtectionCompleteWhenUserInactive". |
| FileProtectionKey | |
| FileProtectionNone | |
| FileReferenceUrl | |
| FileResourceIdentifierKey |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceIdentifierKey |
| FileResourceTypeBlockSpecial |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeBlockSpecial |
| FileResourceTypeCharacterSpecial |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeCharacterSpecial |
| FileResourceTypeDirectory |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeDirectory |
| FileResourceTypeKey |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeKey |
| FileResourceTypeNamedPipe |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeNamedPipe |
| FileResourceTypeRegular |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeRegular |
| FileResourceTypeSocket |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeSocket |
| FileResourceTypeSymbolicLink |
Reprezentuje wartość skojarzona z stałą NSURLFileResourceTypeSymbolicLink |
| FileResourceTypeUnknown |
Reprezentuje wartość skojarzoną z stałą NSURLFileResourceTypeUnknown |
| FileSecurityKey |
Reprezentuje wartość skojarzona z stałą NSURLFileSecurityKey |
| FileSizeKey |
Reprezentuje wartość skojarzona z stałą NSURLFileSizeKey |
| Fragment | |
| GenerationIdentifierKey |
Reprezentuje wartość skojarzona z stałą NSURLGenerationIdentifierKey |
| GetFileSystemRepresentationAsUtf8Ptr | |
| Handle |
Dojdź (wskaźnik) do niezarządzanej reprezentacji obiektu. (Odziedziczone po NSObject) |
| HasDirectoryPath | |
| HasHiddenExtensionKey |
Reprezentuje wartość skojarzona z stałą NSURLHasHiddenExtensionKey |
| Host | |
| IsAliasFileKey |
Reprezentuje wartość skojarzona z stałą NSURLIsAliasFileKey |
| IsApplicationKey | |
| IsDirectBinding |
Pobiera lub ustawia wartość wskazującą, czy to wystąpienie używa powiązania bezpośredniego Objective-C. (Odziedziczone po NSObject) |
| IsDirectoryKey |
Reprezentuje wartość skojarzona z stałą NSURLIsDirectoryKey |
| IsExcludedFromBackupKey |
Reprezentuje wartość skojarzona z stałą NSURLIsExcludedFromBackupKey |
| IsExecutableKey |
Reprezentuje wartość skojarzona z stałą NSURLIsExecutableKey |
| IsFileReferenceUrl | |
| IsFileUrl |
Czy ten NSUrl używa schematu plików. |
| IsHiddenKey |
Reprezentuje wartość skojarzona z stałą NSURLIsHiddenKey |
| IsMountTriggerKey |
Reprezentuje wartość skojarzona z stałą NSURLIsMountTriggerKey |
| IsPackageKey |
Reprezentuje wartość skojarzona z stałą NSURLIsPackageKey |
| IsProxy | (Odziedziczone po NSObject) |
| IsPurgeableKey |
Reprezentuje wartość skojarzona z stałą "NSURLIsPurgeableKey". |
| IsReadableKey |
Reprezentuje wartość skojarzona z stałą NSURLIsReadableKey |
| IsRegularFileKey |
Reprezentuje wartość skojarzona z stałą NSURLIsRegularFileKey |
| IsSparseKey |
Reprezentuje wartość skojarzona z stałą "NSURLIsSparseKey". |
| IsSymbolicLinkKey |
Reprezentuje wartość skojarzona z stałą NSURLIsSymbolicLinkKey |
| IsSystemImmutableKey |
Reprezentuje wartość skojarzona z stałą NSURLIsSystemIsMutableKey |
| IsUbiquitousItemKey |
Reprezentuje wartość skojarzona z stałą NSURLIsUbiquitousItemKey |
| IsUserImmutableKey |
Reprezentuje wartość skojarzona z stałą NSURLIsUserImmutableKey |
| IsVolumeKey |
Reprezentuje wartość skojarzona z stałą NSURLIsVolumeKey |
| IsWritableKey |
Reprezentuje wartość skojarzona ze stałą NSURLIsWritableKey |
| KeysOfUnsetValuesKey |
Reprezentuje wartość skojarzona z stałą NSURLKeysOfUnsetValuesKeysKey |
| LabelColorKey |
Reprezentuje wartość skojarzona z stałą NSURLLabelColorKey |
| LabelNumberKey |
Reprezentuje wartość skojarzona z stałą NSURLLabelNumberKey |
| LastPathComponent | |
| LinkCountKey |
Reprezentuje wartość skojarzoną z stałą NSURLLinkCountKey |
| LocalizedLabelKey |
Reprezentuje wartość skojarzoną z stałą NSURLLocalizedLabelKey |
| LocalizedNameKey |
Reprezentuje wartość skojarzoną z stałą NSURLLocalizedNameKey |
| LocalizedTypeDescriptionKey |
Reprezentuje wartość skojarzoną z stałą NSURLLocalizedTypeDescriptionKey |
| MayHaveExtendedAttributesKey |
Reprezentuje wartość skojarzona z stałą "NSURLMayHaveExtendedAttributesKey". |
| MayShareFileContentKey |
Reprezentuje wartość skojarzona z stałą "NSURLMayShareFileContentKey". |
| NameKey |
Reprezentuje wartość skojarzona z stałą NSURLNameKey |
| ParameterString | |
| ParentDirectoryURLKey |
Reprezentuje wartość skojarzona z stałą NSURLParentDirectoryURLKey |
| Password | |
| Path | |
| PathComponents | |
| PathExtension | |
| PathKey |
Reprezentuje wartość skojarzona z stałą NSURLPathKey |
| Port | |
| PreferredIOBlockSizeKey |
Reprezentuje wartość skojarzoną z stałą NSURLPreferredIOBlockSizeKey |
| PreviewItemDisplayState | |
| PreviewItemTitle |
Pobiera tytuł elementu w wersji zapoznawczej. |
| PreviewItemUrl |
Pobiera adres URL elementu w wersji zapoznawczej. |
| Query | |
| ReadableTypeIdentifiers | |
| RelativePath | |
| RelativeString | |
| ResourceSpecifier | |
| RetainCount | (Odziedziczone po NSObject) |
| Scheme | |
| Self | (Odziedziczone po NSObject) |
| StandardizedUrl | |
| Superclass | (Odziedziczone po NSObject) |
| SuperHandle |
Dojście używane do reprezentowania metod w klasie bazowej dla tego elementu NSObject. (Odziedziczone po NSObject) |
| ThumbnailDictionaryKey |
Reprezentuje wartość skojarzona z stałą NSURLThumbnailDictionaryKey |
| TotalFileAllocatedSizeKey |
Reprezentuje wartość skojarzona z stałą NSURLTotalFileAllocatedSizeKey |
| TotalFileSizeKey |
Reprezentuje wartość skojarzona z stałą NSURLTotalFileSizeKey |
| TypeIdentifierKey |
Reprezentuje wartość skojarzona z stałą NSURLTypeIdentifierKey |
| UbiquitousItemContainerDisplayNameKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemContainerDisplayNameKey |
| UbiquitousItemDownloadingErrorKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemDownloadingErrorKey |
| UbiquitousItemDownloadingStatusCurrent |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemDownloadingStatusCurrent |
| UbiquitousItemDownloadingStatusDownloaded |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemDownloadingStatusDownloaded |
| UbiquitousItemDownloadingStatusKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemDownloadingStatusKey |
| UbiquitousItemDownloadingStatusNotDownloaded |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemDownloadingStatusNotDownloaded |
| UbiquitousItemDownloadRequestedKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemDownloadRequestedKey |
| UbiquitousItemHasUnresolvedConflictsKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemHasUnresolvedConflictsKey |
| UbiquitousItemIsDownloadedKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemIsDownloadedKey |
| UbiquitousItemIsDownloadingKey |
Deweloperzy nie powinni używać tej przestarzałej właściwości. |
| UbiquitousItemIsExcludedFromSyncKey |
Reprezentuje wartość skojarzona z stałą "NSURLUbiquitousItemIsExcludedFromSyncKey". |
| UbiquitousItemIsSharedKey | |
| UbiquitousItemIsSyncPausedKey |
Reprezentuje wartość skojarzona z stałą "NSURLUbiquitousItemIsSyncPausedKey". |
| UbiquitousItemIsUploadedKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemIsUploadedKey |
| UbiquitousItemIsUploadingKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemIsUploadingKey |
| UbiquitousItemPercentDownloadedKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemPercentDownloadedKey |
| UbiquitousItemPercentUploadedKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemPercentUploadedKey |
| UbiquitousItemSupportedSyncControlsKey |
Reprezentuje wartość skojarzona z stałą "NSURLUbiquitousItemSupportedSyncControlsKey". |
| UbiquitousItemUploadingErrorKey |
Reprezentuje wartość skojarzona z stałą NSURLUbiquitousItemUploadingErrorKey |
| UbiquitousSharedItemCurrentUserPermissionsKey | |
| UbiquitousSharedItemCurrentUserRoleKey | |
| UbiquitousSharedItemMostRecentEditorNameComponentsKey | |
| UbiquitousSharedItemOwnerNameComponentsKey | |
| UbiquitousSharedItemPermissionsReadOnly | |
| UbiquitousSharedItemPermissionsReadWrite | |
| UbiquitousSharedItemRoleOwner | |
| UbiquitousSharedItemRoleParticipant | |
| User | |
| VolumeAvailableCapacityForImportantUsageKey | |
| VolumeAvailableCapacityForOpportunisticUsageKey | |
| VolumeAvailableCapacityKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeAvailableCapacityKey |
| VolumeCreationDateKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeCreationDateKey |
| VolumeIdentifierKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIdentifierKey |
| VolumeIsAutomountedKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsAutomountedKey |
| VolumeIsBrowsableKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsBrowsableKey |
| VolumeIsEjectableKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsEjectableKey |
| VolumeIsEncryptedKey | |
| VolumeIsInternalKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsInternalKey |
| VolumeIsJournalingKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsJournalingKey |
| VolumeIsLocalKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsLocalKey |
| VolumeIsReadOnlyKey |
Reprezentuje wartość skojarzoną z stałą NSURLVolumeIsReadOnlyKey |
| VolumeIsRemovableKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeIsRemovableKey |
| VolumeIsRootFileSystemKey | |
| VolumeLocalizedFormatDescriptionKey |
Reprezentuje wartość skojarzoną z stałą NSURLVolumeLocalizedFormatDescriptionKey |
| VolumeLocalizedNameKey |
Reprezentuje wartość skojarzoną z stałą NSURLVolumeLocalizedNameKey |
| VolumeMaximumFileSizeKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeMaximumFileSizeKey |
| VolumeMountFromLocationKey |
Reprezentuje wartość skojarzona z stałą "NSURLVolumeMountFromLocationKey". |
| VolumeNameKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeNameKey |
| VolumeResourceCountKey |
Reprezentuje wartość skojarzoną z stałą NSURLVolumeResourceCountKey |
| VolumeSubtypeKey |
Reprezentuje wartość skojarzona z stałą "NSURLVolumeSubtypeKey". |
| VolumeSupportsAccessPermissionsKey | |
| VolumeSupportsAdvisoryFileLockingKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsAdvisoryFileLockingKey |
| VolumeSupportsCasePreservedNamesKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsCasePreservedNamesKey |
| VolumeSupportsCaseSensitiveNamesKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsCaseSensitiveNamesKey |
| VolumeSupportsCompressionKey | |
| VolumeSupportsExclusiveRenamingKey | |
| VolumeSupportsExtendedSecurityKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsExtendedSecurityKey |
| VolumeSupportsFileCloningKey | |
| VolumeSupportsFileProtectionKey |
Reprezentuje wartość skojarzona z stałą "NSURLVolumeSupportsFileProtectionKey". |
| VolumeSupportsHardLinksKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsHardLinksKey |
| VolumeSupportsImmutableFilesKey | |
| VolumeSupportsJournalingKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsJournalingKey |
| VolumeSupportsPersistentIDsKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsPersistentIDsKey |
| VolumeSupportsRenamingKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsRenamingKey |
| VolumeSupportsRootDirectoryDatesKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsRootDirectoryDatesKey |
| VolumeSupportsSparseFilesKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsSparseFilesKey |
| VolumeSupportsSwapRenamingKey | |
| VolumeSupportsSymbolicLinksKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsSymbolicLinksKey |
| VolumeSupportsVolumeSizesKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsVolumeSizesKey |
| VolumeSupportsZeroRunsKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeSupportsZeroRunsKey |
| VolumeTotalCapacityKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeTotalCapacityKey |
| VolumeTypeNameKey |
Reprezentuje wartość skojarzona z stałą "NSURLVolumeTypeNameKey". |
| VolumeURLForRemountingKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeURLForRemountingKey |
| VolumeURLKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeURLKey |
| VolumeUUIDStringKey |
Reprezentuje wartość skojarzona z stałą NSURLVolumeUUIDStringKey |
| WritableTypeIdentifiers | |
| WritableTypeIdentifiersForItemProvider | |
| Zone | (Odziedziczone po NSObject) |
Metody
Operatory
| Nazwa | Opis |
|---|---|
| Equality(NSUrl, NSUrl) | |
| Implicit(NSUrl to Uri) | |
| Implicit(Uri to NSUrl) | |
| Inequality(NSUrl, NSUrl) | |