TypeName.IsNested 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個值,表示此是否為巢狀型別(例如「Namespace.Declaring+Nested」)。 巢狀型別 DeclaringType 會回傳其宣告型別。
public:
property bool IsNested { bool get(); };
public bool IsNested { get; }
member this.IsNested : bool
Public ReadOnly Property IsNested As Boolean