_Type.IsNestedFamANDAssem プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > _Type.IsNestedFamANDAssem プロパティの意味・解説 

_Type.IsNestedFamANDAssem プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

COM オブジェクトに、Type.IsNestedFamANDAssem プロパティへのバージョン依存しないアクセス用意されています。

このプロパティは、CLS準拠していません。  

名前空間: System.Runtime.InteropServices
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

ReadOnly Property IsNestedFamANDAssem As
 Boolean
Dim instance As _Type
Dim value As Boolean

value = instance.IsNestedFamANDAssem
bool IsNestedFamANDAssem { get; }
property bool IsNestedFamANDAssem {
    bool get ();
}
/** @property */
boolean get_IsNestedFamANDAssem ()
function get IsNestedFamANDAssem () : boolean

プロパティ
Type入れ子になっていて、それ自体属すファミリアセンブリ両方属しているクラスだけから参照可能な場合trueそれ以外場合false

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

Type.IsNestedFamANDAssem プロパティ

Type入れ子になっていて、それ自体属すファミリアセンブリ両方属しているクラスだけから参照可能かどうかを示す値を取得します

名前空間: System
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Dim instance As Type
Dim value As Boolean

value = instance.IsNestedFamANDAssem
public bool IsNestedFamANDAssem { get;
 }
public:
virtual property bool IsNestedFamANDAssem {
    bool get () sealed;
}
/** @property */
public final boolean get_IsNestedFamANDAssem ()
public final function get
 IsNestedFamANDAssem () : boolean

プロパティ
Type入れ子になっていて、それ自体属すファミリアセンブリ両方属しているクラスだけから参照可能な場合trueそれ以外場合false

解説解説
使用例使用例

IsNestedFamANDAssem プロパティ使用する例を次に示します

Imports System
Imports Microsoft.VisualBasic
' Enclose a class.
Class MyClassA
    ' Protected friend nested class.
    Protected Friend Class
 MyClassB
    End Class 'MyClassB
End Class 'MyClassA
Class MyTestClass
    Public Shared Sub Main()
        ' Get the type of the nested class.
        Dim myTypeB As Type = GetType(MyClassA.MyClassB)
        ' Get the IsNestedFamANDAssem property of the nested class.
        Console.WriteLine(ControlChars.Cr + "The IsNestedFamANDAssem
 property value of the nested class is {0}.", myTypeB.IsNestedFamANDAssem.ToString())
    End Sub 'Main
End Class 'MyTestClass
using System;
// Enclose a class.
class MyClassA
{
    protected internal class MyClassB
    {
    }
}
class MyTestClass 
{
    public static void Main(string[]
 args)
    {        
        // Get the type of the nested class.
        Type myTypeB = typeof(MyClassA.MyClassB);
        // Get the IsNestedFamANDAssem property of the nested class.
        Console.WriteLine("\nThe IsNestedFamANDAssem property value of the nested
 class is {0}.", myTypeB.IsNestedFamANDAssem.ToString());
 
    }
}
using namespace System;

// Enclose a class.
ref class MyClassA
{
public protected:
   ref class MyClassB{};
};

int main()
{
   // Get the type of the nested class.
   Type^ myTypeB = MyClassA::MyClassB::typeid;
   
   // Get the IsNestedFamANDAssem property of the nested class.
   Console::WriteLine( "\nThe IsNestedFamANDAssem property value of the nested
 class is {0}.", myTypeB->IsNestedFamANDAssem );
}
import System.*;

// Enclose a class.
class MyClassA
{
    protected class MyClassB
    {
    } //MyClassB
} //MyClassA

class MyTestClass
{
    public static void main(String[]
 args)
    {
        // Get the type of the nested class.
        Type myTypeB = MyClassA.MyClassB.class.ToType();

        // Get the IsNestedFamANDAssem property of the nested class.
        Console.WriteLine("\nThe IsNestedFamANDAssem property value of the"
            +" nested class is {0}.", 
            System.Convert.ToString(myTypeB.get_IsNestedFamANDAssem()));
    } //main
} //MyTestClass
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」から_Type.IsNestedFamANDAssem プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書から_Type.IsNestedFamANDAssem プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書から_Type.IsNestedFamANDAssem プロパティを検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「_Type.IsNestedFamANDAssem プロパティ」の関連用語

_Type.IsNestedFamANDAssem プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



_Type.IsNestedFamANDAssem プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS