ResourceExposureAttribute クラスとは? わかりやすく解説

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

ResourceExposureAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

クラスメンバ対すリソース公開指定します。このクラス継承できません。

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

<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method
 Or AttributeTargets.Property Or AttributeTargets.Field,
 Inherited:=False)> _
<ConditionalAttribute("RESOURCE_ANNOTATION_WORK")>
 _
Public NotInheritable Class
 ResourceExposureAttribute
    Inherits Attribute
Dim instance As ResourceExposureAttribute
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field,
 Inherited=false)] 
[ConditionalAttribute("RESOURCE_ANNOTATION_WORK")] 
public sealed class ResourceExposureAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Constructor|AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field,
 Inherited=false)] 
[ConditionalAttribute(L"RESOURCE_ANNOTATION_WORK")] 
public ref class ResourceExposureAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field,
 Inherited=false) */ 
/** @attribute ConditionalAttribute("RESOURCE_ANNOTATION_WORK") */ 
public final class ResourceExposureAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field,
 Inherited=false) 
ConditionalAttribute("RESOURCE_ANNOTATION_WORK") 
public final class ResourceExposureAttribute
 extends Attribute
解説解説

ResourceExposureAttribute 属性適用されメンバ呼び出すメンバには、ResourceConsumptionAttribute 属性適用する必要がありますPublic メンバは、Assembly リソースPrivate リソース公開できません。Assembly スコープメンバPrivate リソース公開できません。

リソース スコープが None の ResourceExposureAttribute 属性メソッド適用すると、メソッドグラフ終了します

継承階層継承階層
System.Object
   System.Attribute
    System.Runtime.Versioning.ResourceExposureAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ResourceExposureAttribute メンバ
System.Runtime.Versioning 名前空間



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

辞書ショートカット

すべての辞書の索引

「ResourceExposureAttribute クラス」の関連用語

ResourceExposureAttribute クラスのお隣キーワード
検索ランキング

   

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



ResourceExposureAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS