VARFLAGS Enumeração

Definição

Cuidado

Use System.Runtime.InteropServices.ComTypes.VARFLAGS instead. http://go.microsoft.com/fwlink/?linkid=14202

Cuidado

Esta API agora é obsoleta.

Use VARFLAGS em vez disso.Use VARFLAGS instead.

Esta enumeração tem um atributo FlagsAttribute que permite uma combinação bit a bit dos valores membros dela.

public enum class VARFLAGS
[System.Flags]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum VARFLAGS
[System.Flags]
[System.Serializable]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.VARFLAGS instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public enum VARFLAGS
[System.Flags]
[System.Serializable]
[System.Obsolete]
public enum VARFLAGS
[<System.Flags>]
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type VARFLAGS = 
[<System.Flags>]
[<System.Serializable>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.VARFLAGS instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type VARFLAGS = 
[<System.Flags>]
[<System.Serializable>]
[<System.Obsolete>]
type VARFLAGS = 
Public Enum VARFLAGS
Herança
VARFLAGS
Atributos

Campos

VARFLAG_FBINDABLE 4

A variável dá suporte à associação de dados.The variable supports data binding.

VARFLAG_FDEFAULTBIND 32

A variável é a única propriedade que melhor representa o objeto.The variable is the single property that best represents the object. Apenas uma variável em informações de tipo pode ter esse atributo.Only one variable in type information can have this attribute.

VARFLAG_FDEFAULTCOLLELEM 256

Permite uma otimização em que o compilador procura um membro chamado "xyz" no tipo de "abc".Permits an optimization in which the compiler looks for a member named "xyz" on the type of "abc". Se esse membro for encontrado e marcado como uma função de acessador de um elemento da coleção padrão, uma chamada será gerada para essa função de 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. Permitido em membros em dispinterfaces e interfaces; não é permitida em módulos.Permitted on members in dispinterfaces and interfaces; not permitted on modules.

VARFLAG_FDISPLAYBIND 16

A variável é exibida para o usuário como associável.The variable is displayed to the user as bindable. VARFLAG_FBINDABLE também deve ser definido.VARFLAG_FBINDABLE must also be set.

VARFLAG_FHIDDEN 64

A variável não deve ser exibida para o usuário em um navegador, embora ela exista e seja associável.The variable should not be displayed to the user in a browser, although it exists and is bindable.

VARFLAG_FIMMEDIATEBIND 4096

A variável é mapeada como propriedades vinculáveis individuais.The variable is mapped as individual bindable properties.

VARFLAG_FNONBROWSABLE 1024

A variável é exibida em um Pesquisador de Objetos, mas não em um navegador de propriedades.The variable appears in an object browser, but not in a properties browser.

VARFLAG_FREADONLY 1

Atribuição à variável não deve ser permitida.Assignment to the variable should not be allowed.

VARFLAG_FREPLACEABLE 2048

Marca a interface como tendo comportamentos padrão.Tags the interface as having default behaviors.

VARFLAG_FREQUESTEDIT 8

Quando definido, qualquer tentativa de alterar diretamente os resultados da propriedade em uma chamada para IPropertyNotifySink::OnRequestEdit.When set, any attempt to directly change the property results in a call to IPropertyNotifySink::OnRequestEdit. A implementação de OnRequestEdit determina se a alteração é aceita.The implementation of OnRequestEdit determines if the change is accepted.

VARFLAG_FRESTRICTED 128

A variável não deve ser acessível das linguagens de macro.The variable should not be accessible from macro languages. Esse sinalizador destina-se a variáveis de nível de sistema ou variáveis que você não deseja que os navegadores de tipo para exibam.This flag is intended for system-level variables or variables that you do not want type browsers to display.

VARFLAG_FSOURCE 2

A variável retorna um objeto que é uma origem de eventos.The variable returns an object that is a source of events.

VARFLAG_FUIDEFAULT 512

A variável é a exibição padrão na interface do usuário.The variable is the default display in the user interface.

Comentários

Para obter informações adicionais sobre VARFLAGS o, consulte a biblioteca MSDN.For additional information about VARFLAGS, see the MSDN Library.

Aplica-se a