TypeLibVarFlags Enumerazione
Definizione
Descrive le impostazioni originali dell'oggetto VARFLAGS nella libreria dei tipi COM dalla quale la variabile è stata importata.Describes the original settings of the VARFLAGS in the COM type library from which the variable was imported.
Questa enumerazione ha un attributo FlagsAttribute che consente una combinazione bit per bit dei valori del relativo membro.
public enum class TypeLibVarFlags
[System.Flags]
public enum TypeLibVarFlags
[System.Flags]
[System.Serializable]
public enum TypeLibVarFlags
[System.Flags]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum TypeLibVarFlags
[<System.Flags>]
type TypeLibVarFlags =
[<System.Flags>]
[<System.Serializable>]
type TypeLibVarFlags =
[<System.Flags>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TypeLibVarFlags =
Public Enum TypeLibVarFlags
- Ereditarietà
- Attributi
Campi
FBindable | 4 | La variabile supporta l'associazione dati.The variable supports data binding. |
FDefaultBind | 32 | La variabile è la singola proprietà che meglio rappresenta l'oggetto.The variable is the single property that best represents the object. Solo una variabile nelle informazioni su un tipo può avere questo valore.Only one variable in a type info can have this value. |
FDefaultCollelem | 256 | Consente un'ottimizzazione in cui il compilatore cerca un membro denominato "xyz" nel tipo "abc".Permits an optimization in which the compiler looks for a member named "xyz" on the type "abc". Se tale membro viene individuato e gli viene assegnato un flag come funzione della funzione di accesso per un elemento dell'insieme predefinito, verrà generata una chiamata alla funzione di tale membro.If such a member is found and is flagged as an accessor function for an element of the default collection, then a call is generated to that member function. |
FDisplayBind | 16 | La variabile viene visualizzata come associabile.The variable is displayed as bindable. È inoltre necessario impostare FBindable.FBindable must also be set. |
FHidden | 64 | La variabile non deve essere visualizzata in un visualizzatore, anche se è presente ed è associabile.The variable should not be displayed in a browser, though it exists and is bindable. |
FImmediateBind | 4096 | La variabile viene mappata come singole proprietà associabili.The variable is mapped as individual bindable properties. |
FNonBrowsable | 1024 | La variabile viene visualizzata in un visualizzatore oggetti, ma non in un visualizzatore proprietà.The variable appears in an object browser, but not in a properties browser. |
FReadOnly | 1 | L'assegnazione alla variabile non deve essere consentita.Assignment to the variable should not be allowed. |
FReplaceable | 2048 | Inserisce dei tag nell'interfaccia in modo che abbia comportamenti predefiniti.Tags the interface as having default behaviors. |
FRequestEdit | 8 | Indica che la proprietà supporta la notifica |
FRestricted | 128 | Il flag è destinato alle funzioni a livello di sistema o alle funzioni che non devono essere visualizzate dai visualizzatori dei tipi.This flag is intended for system-level functions or functions that type browsers should not display. |
FSource | 2 | La variabile restituisce un oggetto che rappresenta un'origine di eventi.The variable returns an object that is a source of events. |
FUiDefault | 512 | Visualizzazione predefinita nell'interfaccia utente.The default display in the user interface. |
Commenti
TypeLibVarFlags
viene utilizzato insieme a TypeLibVarAttribute .TypeLibVarFlags
is used in conjunction with the TypeLibVarAttribute. I flag vengono conservati solo per riferimento.The flags are retained for reference only. Non vengono usati dal Common Language Runtime.They are not used by the common language runtime.
Per ulteriori informazioni, vedere VARFLAGS
in MSDN Library.For more information, see VARFLAGS
in the MSDN library.