TypeInfo.GetNestedType 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual Type ^ GetNestedType(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
C#
public virtual Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr);
abstract member GetNestedType : string * System.Reflection.BindingFlags -> Type
override this.GetNestedType : string * System.Reflection.BindingFlags -> Type
Public Overridable Function GetNestedType (name As String, bindingAttr As BindingFlags) As Type
參數
- name
- String
- bindingAttr
- BindingFlags
傳回
適用於
.NET Core 1.1 和其他版本
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |