'Declaration<ExtensionAttribute()> <JetBrains.Annotations.CanBeNullAttribute()> Public Overloads Shared Function GetPropertyOnNearestLevel( _ ByVal type As Type, _ ByVal name As String, _ ByVal bindingFlags As BindingFlags _ ) As PropertyInfo
'UsageDim type As Type Dim name As String Dim bindingFlags As BindingFlags Dim value As PropertyInfo value = TypeExtensionR.GetPropertyOnNearestLevel(type, name, bindingFlags)
[Extension()] [JetBrains.Annotations.CanBeNull()] public static PropertyInfo GetPropertyOnNearestLevel( Type type, string name, BindingFlags bindingFlags )
[Extension()] [JetBrains.Annotations.CanBeNull()] public: static PropertyInfo^ GetPropertyOnNearestLevel( Type^ type, String^ name, BindingFlags bindingFlags )
Parameters
- type
The value of this parameter cannot be
null(Nothingin Visual Basic).- name
The value of this parameter cannot be
null(Nothingin Visual Basic).- bindingFlags
Return Value
This method can return null (Nothing in Visual Basic).