語言

CFBundle 類別

定義

public class CFBundle : CoreFoundation.NativeObject
type CFBundle = class
    inherit NativeObject
繼承

建構函式

名稱 Description
CFBundle(NSUrl)

屬性

名稱 Description
Architectures
BuiltInPlugInsUrl
DevelopmentRegion
ExecutableUrl
Handle (繼承來源 DisposableObject)
HasLoadedExecutable
Identifier
Info
InfoDictionary
LocalInfoDictionary
Owns (繼承來源 DisposableObject)
PrivateFrameworksUrl
ResourcesDirectoryUrl
SharedFrameworksUrl
SharedSupportUrl
SupportFilesDirectoryUrl
Url

方法

名稱 Description
ClearHandle() (繼承來源 DisposableObject)
Dispose()

釋放此物件所使用的所有資源。

(繼承來源 DisposableObject)
Dispose(Boolean)

釋放此物件所使用的資源。

(繼承來源 NativeObject)
Equals(Object) (繼承來源 DisposableObject)
Get(String)
GetAll()
GetAuxiliaryExecutableUrl(String)
GetBundlesFromDirectory(NSUrl, String)
GetCheckedHandle() (繼承來源 DisposableObject)
GetHashCode() (繼承來源 DisposableObject)
GetInfoDictionary(NSUrl)
GetLocalizations(NSUrl)
GetLocalizationsForPreferences(String[], String[])
GetLocalizedString(String, String, String, CultureInfo[])

會獲得一個本地化字串,列出可能的本地化方式。

GetLocalizedString(String, String, String, String[])

會獲得一個本地化字串,列出可能的本地化方式。

GetLocalizedString(String, String, String)

會得到一個局部字串。

GetMain()
GetPreferredLocalizations(String[])
GetResourceUrl(NSUrl, String, String, String)
GetResourceUrl(String, String, String, String)
GetResourceUrl(String, String, String)
GetResourceUrls(NSUrl, String, String)
GetResourceUrls(String, String, String)
GetResourceUrls(String, String)
InitializeHandle(NativeHandle) (繼承來源 DisposableObject)
IsArchitectureLoadable(CFBundle+Architecture)
IsExecutableLoadable(CFBundle)
IsExecutableLoadable(NSUrl)
LoadExecutable(NSError)
PreflightExecutable(NSError)
Release() (繼承來源 NativeObject)
Retain() (繼承來源 NativeObject)
UnloadExecutable()

擴充方法

名稱 Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

適用於