|
この記事は機械翻訳されたものです。 記事の文章にポインターを重ねると、原文のテキストが表示されます。 詳細情報
|
訳文
原文
|
OSFeature クラス
名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (System.Windows.Forms.dll 内)
OSFeature 型で公開されるメンバーは以下のとおりです。
| 名前 | 説明 | |
|---|---|---|
![]() | Equals(Object) | |
![]() | Finalize | |
![]() | GetHashCode | |
![]() | GetType | |
![]() | GetVersionPresent | |
![]() | IsPresent(Object) | |
![]() ![]() | IsPresent(SystemParameter) | |
![]() | IsPresent(Object, Version) | |
![]() | MemberwiseClone | |
![]() | ToString |
| 名前 | 説明 | |
|---|---|---|
![]() ![]() | LayeredWindows | |
![]() ![]() | Themes |
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 (myVersion != null) textBox1.Text = "Layered windows feature is installed." + '\n'; else textBox1.Text = "Layered windows feature is not installed." + '\n'; // This is an alternate way to check whether a feature is present. if (OSFeature.Feature.IsPresent(OSFeature.LayeredWindows)) textBox1.Text += "Again, layered windows feature is installed."; else textBox1.Text += "Again, layered windows feature is not installed."; }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (サーバー コア ロールはサポート対象外), Windows Server 2008 R2 (SP1 以降でサーバー コア ロールをサポート。Itanium はサポート対象外)
.NET Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
