TypeDelegator.GetNestedType(String, BindingFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a nested type specified by name
and in bindingAttr
that are declared or inherited by the type represented by the current TypeDelegator.
public:
override Type ^ GetNestedType(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public override Type? GetNestedType (string name, System.Reflection.BindingFlags bindingAttr);
public override Type GetNestedType (string name, System.Reflection.BindingFlags bindingAttr);
override this.GetNestedType : string * System.Reflection.BindingFlags -> Type
Public Overrides Function GetNestedType (name As String, bindingAttr As BindingFlags) As Type
Parameters
- name
- String
The nested type's name.
- bindingAttr
- BindingFlags
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.
Returns
A Type
object representing the nested type.
Exceptions
The name
parameter is null
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.