This documentation is archived and is not being maintained.

TypeDelegator.GetPropertyImpl Method

When overridden in a derived class, searches for the specified property whose parameters match the specified argument types and modifiers, using the specified binding constraints.

[Visual Basic]
Overrides Protected Function GetPropertyImpl( _
   ByVal name As String, _
   ByVal bindingAttr As BindingFlags, _
   ByVal binder As Binder, _
   ByVal returnType As Type, _
   ByVal types() As Type, _
   ByVal modifiers() As ParameterModifier _
) As PropertyInfo
[C#]
protected override PropertyInfo GetPropertyImpl(
 string name,
 BindingFlags bindingAttr,
 Binder binder,
 Type returnType,
 Type[] types,
 ParameterModifier[] modifiers
);
[C++]
protected: PropertyInfo* GetPropertyImpl(
 String* name,
 BindingFlags bindingAttr,
 Binder* binder,
 Type* returnType,
 Type* types[],
 ParameterModifier modifiers[]
);
[JScript]
protected override function GetPropertyImpl(
   name : String,
 bindingAttr : BindingFlags,
 binder : Binder,
 returnType : Type,
 types : Type[],
 modifiers : ParameterModifier[]
) : PropertyInfo;

Parameters

name
The property to get.
bindingAttr
A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from BindingFlags.
binder
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of MemberInfo objects via reflection. If binder is a null reference (Nothing in Visual Basic), the default binder is used. See Binder.
returnType
The return type of the property.
types
A list of parameter types. The list represents the number, order, and types of the parameters. Types cannot be null; use an appropriate GetMethod method or an empty array to search for a method without parameters.
modifiers
An array of the same length as types with elements that represent the attributes associated with the parameters of the method to get.

Return Value

A PropertyInfo object for the property that matches the specified criteria, or null if a match cannot be found.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace

Show: