ITargetAwareCodeDomProvider.SupportsProperty(Type, String, Boolean) Método
Definição
Indica se o tipo especificado na estrutura de destino do projeto tem uma propriedade nomeada especificada.Indicates whether the specified type on the project target framework has a specified named property.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
public:
bool SupportsProperty(Type ^ type, System::String ^ propertyName, bool isWritable);
public bool SupportsProperty (Type type, string propertyName, bool isWritable);
abstract member SupportsProperty : Type * string * bool -> bool
Public Function SupportsProperty (type As Type, propertyName As String, isWritable As Boolean) As Boolean
Parâmetros
- type
- Type
O tipo cujas propriedades devem ser consultadas.The type whose properties are to be queried.
- propertyName
- String
O nome da propriedade a ser localizada em type.The name of the property to find in type.
- isWritable
- Boolean
Um sinalizador que indica se a propriedade deve incluir um acessador get.A flag that indicates whether the property must include a get accessor.
Retornos
true se type na estrutura de destino do projeto tem uma propriedade nomeada propertyname; caso contrário, false.true if type on the project target framework has a property named propertyname; otherwise, false.