TypeInfo.GetDeclaredNestedType(String) 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 an object that represents the specified nested type declared by the current type.
public:
virtual System::Reflection::TypeInfo ^ GetDeclaredNestedType(System::String ^ name);
public virtual System.Reflection.TypeInfo GetDeclaredNestedType (string name);
public virtual System.Reflection.TypeInfo? GetDeclaredNestedType (string name);
abstract member GetDeclaredNestedType : string -> System.Reflection.TypeInfo
override this.GetDeclaredNestedType : string -> System.Reflection.TypeInfo
Public Overridable Function GetDeclaredNestedType (name As String) As TypeInfo
Parameters
- name
- String
The name of the nested type.
Returns
An object that represents the specified nested type, if found; otherwise, null
.
Exceptions
name
is null
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.