语言

NSUrl 类

定义

[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
继承
特性
实现

构造函数

名称 说明
NSUrl(IntPtr, Boolean, NSUrl)
NSUrl(NativeHandle)

创建非托管对象的托管表示形式时使用的构造函数。 由运行时调用。

NSUrl(NSCoder)

一个构造函数,用于从存储在 unarchiver 对象中的数据初始化对象。

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)

属性

名称 说明
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

处理(指针)到非托管对象表示形式。

(继承自 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

表示与常量 NSURLPreferredIOBlockSizeKey 关联的值

PreviewItemDisplayState
PreviewItemTitle

获取预览项的标题。

PreviewItemUrl

获取预览项的 URL。

Query
ReadableTypeIdentifiers
RelativePath
RelativeString
ResourceSpecifier
RetainCount (继承自 NSObject)
Scheme
Self (继承自 NSObject)
StandardizedUrl
Superclass (继承自 NSObject)
SuperHandle
已过时.

用于表示此 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

表示与常量“NSURLUbiquitousItemIsExcludedFromSyncKey”关联的值。

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)

方法

名称 说明
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
Append(String, Boolean)
AppendPathExtension(String)
AwakeFromNib() (继承自 NSObject)
BeginInvokeOnMainThread(Action)

在主 UI 线程上异步调用指定的操作。

(继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
Bind(NSString, NSObject, String, NSBindingOptions) (继承自 NSObject)
Bind(NSString, NSObject, String, NSDictionary) (继承自 NSObject)
CommitEditing() (继承自 NSObject)
CommitEditing(NSObject, Selector, IntPtr) (继承自 NSObject)
ConformsToProtocol(NativeHandle) (继承自 NSObject)
Copy() (继承自 NSObject)
Copy(NSZone)

执行基础 Objective-C 对象的副本。

CreateAbsoluteUrlWithDataRepresentation(NSData, NSUrl)
CreateBookmarkData(NSUrlBookmarkCreationOptions, String[], NSUrl, NSError)
CreateFileUrl(String, Boolean, NSUrl)
CreateFileUrl(String, Boolean)
CreateFileUrl(String, NSUrl)
CreateFileUrl(String)
CreateFileUrl(String[])
CreateWithDataRepresentation(NSData, NSUrl)
DangerousAutorelease()

对此对象调用“autorelease”选择器。

(继承自 NSObject)
DangerousRelease()

对此对象调用“release”选择器。

(继承自 NSObject)
DangerousRetain()

对此对象调用“保留”选择器。

(继承自 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
DidChangeValue(String) (继承自 NSObject)
Dispose()

释放对象使用 NSObject 的资源。

(继承自 NSObject)
Dispose(Boolean)

释放此对象使用的资源。

(继承自 NSObject)
DoesNotRecognizeSelector(Selector) (继承自 NSObject)
EncodeTo(NSCoder)

使用提供的编码器对对象的状态进行编码。

Equals(NSObject)

确定指定的 NSObject 值是否等于当前 NSObject。

(继承自 NSObject)
Equals(NSUrl)
Equals(Object)

确定指定的对象是否等于当前 NSObject对象。

(继承自 NSObject)
FromBookmarkData(NSData, NSUrlBookmarkResolutionOptions, NSUrl, Boolean, NSError)
FromFilename(String)

从文件名创建 NSUrl。

FromPasteboard(NSPasteboard)
FromString(String, Boolean)
FromString(String)
FromUTF8Pointer(IntPtr, Boolean, NSUrl)
GetBindingInfo(NSString) (继承自 NSObject)
GetBindingOptionDescriptions(NSString) (继承自 NSObject)
GetBindingValueClass(NSString) (继承自 NSObject)
GetBookmarkData(NSUrl, NSError)
GetDictionaryOfValuesFromKeys(NSString[]) (继承自 NSObject)
GetFileSystemRepresentation(IntPtr, IntPtr)
GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetItemProviderVisibilityForTypeIdentifier(String)
GetMethodForSelector(Selector) (继承自 NSObject)
GetNativeHash() (继承自 NSObject)
GetObject(NSData, String, NSError)
GetPasteboardPropertyListForType(String)
GetReadableTypesForPasteboard(NSPasteboard)
GetReadingOptionsForType(String, NSPasteboard)
GetResourceValues(NSString[], NSError)
GetWritableTypesForPasteboard(NSPasteboard)
GetWritingOptionsForType(String, NSPasteboard)
Init()

通过调用 Objective-C init 方法初始化对象。

(继承自 NSObject)
InitializeHandle(NativeHandle, String, Boolean)

Handle使用本机初始值设定项的结果初始化属性。

(继承自 NSObject)
InitializeHandle(NativeHandle, String) (继承自 NSObject)
InitializeHandle(NativeHandle) (继承自 NSObject)
Invoke(Action, Double)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
Invoke(Action, TimeSpan)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Action)

在主 UI 线程上同步调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

在主 UI 线程上同步调用指定的代码。

(继承自 NSObject)
IsEqual(NSObject) (继承自 NSObject)
IsKindOfClass(Class) (继承自 NSObject)
IsMemberOfClass(Class) (继承自 NSObject)
LoadData(String, Action<NSData,NSError>)

实现此方法以自定义数据加载方式 NSItemProvider。

LoadDataAsync(String, NSProgress)
LoadDataAsync(String)

从项提供程序异步加载标识类型的数据,并返回包含数据的任务。

MakeRelative(String)
MarkDirty()

将常规对等对象(IsDirectBinding 为 true)提升为 toggleref 对象。

(继承自 NSObject)
MutableCopy() (继承自 NSObject)
ObjectDidEndEditing(NSObject) (继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (继承自 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (继承自 NSObject)
PerformSelector(Selector, NSObject, Double) (继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSObject) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (继承自 NSObject)
PerformSelector(Selector) (继承自 NSObject)
PrepareForInterfaceBuilder() (继承自 NSObject)
RemoveAllCachedResourceValues()
RemoveCachedResourceValueForKey(NSString)
RemoveLastPathComponent()
RemoveObserver(NSObject, NSString, IntPtr) (继承自 NSObject)
RemoveObserver(NSObject, NSString) (继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr) (继承自 NSObject)
RemoveObserver(NSObject, String) (继承自 NSObject)
RemovePathExtension()
ResolveAlias(NSUrl, NSUrlBookmarkResolutionOptions, NSError)
RespondsToSelector(Selector) (继承自 NSObject)
SetNilValueForKey(NSString) (继承自 NSObject)
SetResource(NSString, NSObject, NSError)
SetResource(NSString, NSObject)
SetTemporaryResourceValue(NSObject, NSString)
SetValueForKey(NSObject, NSString) (继承自 NSObject)
SetValueForKeyPath(NativeHandle, NSString)

将给定键路径标识的属性的值设置为给定值。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString) (继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString) (继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (继承自 NSObject)
StartAccessingSecurityScopedResource()
StopAccessingSecurityScopedResource()
ToString()

返回当前实例值的字符串表示形式。

TryGetResource(NSString, NSObject, NSError)
TryGetResource(NSString, NSObject)
Unbind(NSString) (继承自 NSObject)
ValueForKey(NSString) (继承自 NSObject)
ValueForKeyPath(NSString) (继承自 NSObject)
ValueForUndefinedKey(NSString) (继承自 NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (继承自 NSObject)
WillChangeValue(String) (继承自 NSObject)
WriteBookmarkData(NSData, NSUrl, NSUrlBookmarkCreationOptions, NSError)
WriteToPasteboard(NSPasteboard)

运算符

名称 说明
Equality(NSUrl, NSUrl)
Implicit(NSUrl to Uri)
Implicit(Uri to NSUrl)
Inequality(NSUrl, NSUrl)

扩展方法

名称 说明
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
AccessibilityHitTest(NSObject, CGPoint, UIEvent)
AppendPathComponent(NSUrl, String, UTType)
AppendPathExtension(NSUrl, UTType)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
CheckPromisedItemIsReachable(NSUrl, NSError)
EndPreviewPanelControl(NSObject, QLPreviewPanel)
GetAccessibilityCustomRotors(NSObject)

获取适合UIAccessibilityCustomRotor对象的对象的数组this。

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityDetailsElements(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityImageData(NSObject, NSDictionary)
GetBrowserAccessibilityImageDataSize(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityKeyboardShortcuts(NSObject)
GetBrowserAccessibilityOrientation(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
GetDebugDescription(INSObjectProtocol)
GetHandle(INativeObject)
GetItemProviderVisibilityForTypeIdentifier(INSItemProviderWriting, String)
GetNonNullHandle(INativeObject, String)
GetPreviewItemDisplayState(IQLPreviewItem)
GetPreviewItemTitle(IQLPreviewItem)

获取预览项的标题。

GetPreviewItemTitle(IQLPreviewItem)
GetPromisedItemResourceValue(NSUrl, NSObject, NSString, NSError)
GetPromisedItemResourceValues(NSUrl, NSString[], NSError)
GetValidModes(NSObject, NSFontPanel)
GetWritableTypeIdentifiersForItemProvider(INSItemProviderWriting)
GetWritingOptionsForType(INSPasteboardWriting, String, NSPasteboard)
LoadDataAsync(INSItemProviderWriting, String, NSProgress)
LoadDataAsync(INSItemProviderWriting, String)

从项提供程序异步加载标识类型的数据,并返回包含数据的任务。

ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适合UIAccessibilityCustomRotor对象的对象的数组this。

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityDetailsElements(NSObject, NSObject[])
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityKeyboardShortcuts(NSObject, String)
SetBrowserAccessibilityOrientation(NSObject, BEAccessibilityOrientation)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
ValidateToolbarItem(NSObject, NSToolbarItem)

适用于