_Type.IsNestedPrivate 屬性

定義

為 COM 物件提供與版本無關的 IsNestedPrivate 屬性之存取權。Provides COM objects with version-independent access to the IsNestedPrivate property.

public:
 property bool IsNestedPrivate { bool get(); };
public bool IsNestedPrivate { get; }
member this.IsNestedPrivate : bool
Public ReadOnly Property IsNestedPrivate As Boolean

屬性值

如果 true 是巢狀並且宣告為私用,則為 Type,否則為 falsetrue if the Type is nested and declared private; otherwise, false.

備註

這個屬性是用來從非受控程式碼存取 managed 類別,而且不應該從 managed 程式碼呼叫。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.IsNestedPrivate屬性Type會取得值,指出是否已嵌套並宣告為私用。The Type.IsNestedPrivate property gets a value indicating whether the Type is nested and declared private.

適用於