OSFeature.LayeredWindows フィールドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > OSFeature.LayeredWindows フィールドの意味・解説 

OSFeature.LayeredWindows フィールド

レイヤード トップレベル ウィンドウ機能表します。このフィールド読み取り専用です。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared ReadOnly LayeredWindows
 As Object
Dim value As Object

value = OSFeature.LayeredWindows
public static readonly Object LayeredWindows
public:
static initonly Object^ LayeredWindows
public static final Object LayeredWindows
public static final var
 LayeredWindows : Object
解説解説
使用例使用例

現在のシステムレイヤード ウィンドウサポートしているかどうか確認する例を次に示します検索対象機能として LayeredWindows指定し基本クラスメソッド IsPresent が呼び出されます。結果テキスト ボックス表示されます。このコードは、textBox1インスタンス化され、フォーム上に配置されていることを前提にしています。

Private Sub LayeredWindows()
    ' Gets the version of the layered windows feature.
    Dim myVersion As Version = _
       OSFeature.Feature.GetVersionPresent(OSFeature.LayeredWindows)
       
    ' Prints whether the feature is available.
    If OSFeature.Feature.IsPresent(OSFeature.LayeredWindows) Then
        textBox1.Text = "Layered windows feature is installed."
    Else
        textBox1.Text = "Layered windows feature is not installed."
    End If
End Sub

private void LayeredWindows() {
   // Gets the version of the layered windows feature.
   Version myVersion =
       OSFeature.Feature.GetVersionPresent(OSFeature.LayeredWindows);

   // Prints whether the feature is available.
   if (OSFeature.Feature.IsPresent(OSFeature.LayeredWindows))
      textBox1.Text = "Layered windows feature is installed.";
   else
      textBox1.Text = "Layered windows feature is not installed.";
}

private:
   void LayeredWindows()
   {
      // Gets the version of the layered windows feature.
      Version^ myVersion = OSFeature::Feature->GetVersionPresent(
         OSFeature::LayeredWindows );
      
      // Prints whether the feature is available.
      if ( OSFeature::Feature->IsPresent( OSFeature::LayeredWindows
 ) )
      {
         textBox1->Text = "Layered windows feature is installed.";
      }
      else
      {
         textBox1->Text = "Layered windows feature is not installed.";
      }
   }
private void LayeredWindows()
{
    // Gets the version of the layered windows feature.
    Version myVersion = OSFeature.get_Feature().GetVersionPresent
        (OSFeature.LayeredWindows);

    // Prints whether the feature is available.
    if (OSFeature.get_Feature().IsPresent(OSFeature.LayeredWindows))
 {
        textBox1.set_Text("Layered windows feature is installed.");
    }
    else {
        textBox1.set_Text("Layered windows feature is not installed.");
    }
} //LayeredWindows 
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
OSFeature クラス
OSFeature メンバ
System.Windows.Forms 名前空間
IsPresent
GetVersionPresent
Feature



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

辞書ショートカット

すべての辞書の索引

OSFeature.LayeredWindows フィールドのお隣キーワード
検索ランキング

   

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



OSFeature.LayeredWindows フィールドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS