LoadHint Enum
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.
Specifies the preferred default binding for a dependent assembly.
public enum class LoadHint
public enum LoadHint
[System.Serializable]
public enum LoadHint
type LoadHint =
[<System.Serializable>]
type LoadHint =
Public Enum LoadHint
- Inheritance
- Attributes
Fields
Always | 1 | The dependency is always loaded. |
Default | 0 | No preference specified. |
Sometimes | 2 | The dependency is sometimes loaded. |
Remarks
Use this enumeration with the DependencyAttribute attribute and the DefaultDependencyAttribute attribute to specify the preferred default binding for a dependent assembly.
Note that the Default
value directs the native generation service to consult the dependent assembly for its preferred default binding, which is specified using the DefaultDependencyAttribute attribute. Very few assemblies should need to specify a default value in this manner.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για