英語で読む

次の方法で共有


ResourceType 列挙型

定義

定義済みのネイティブなオブジェクト型を指定します。

C#
public enum ResourceType
継承
ResourceType

フィールド

名前 説明
DSObject 8

ディレクトリ サービス (DS: Directory Service) オブジェクト、またはディレクトリ サービス オブジェクトのプロパティ セットまたはプロパティ

DSObjectAll 9

ディレクトリ サービス オブジェクト、およびそのすべてのプロパティ セットとプロパティ

FileObject 1

ファイルまたはディレクトリ

KernelObject 6

ローカル カーネル オブジェクト

LMShare 5

ネットワーク共有

Printer 3

プリンター

ProviderDefined 10

プロバイダーによって定義されたオブジェクト

RegistryKey 4

レジストリ キー

RegistryWow6432Key 12

WOW64 のレジストリ エントリのオブジェクト

Service 2

Windows サービス

Unknown 0

不明なオブジェクト型

WindowObject 7

ローカル コンピューターのウィンドウ ステーションまたはデスクトップのオブジェクト

WmiGuidObject 11

WMI (Windows Management Instrumentation) オブジェクト

適用対象

製品 バージョン
.NET Core 1.0, Core 1.1, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0
Windows Desktop 3.0, 3.1, 5