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

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

ObfuscationAttribute.StripAfterObfuscation プロパティ

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

隠ぺいツールが処理後に属性削除する必要があるかどうかを示す Boolean 値を取得または設定します

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

Public Property StripAfterObfuscation As
 Boolean
Dim instance As ObfuscationAttribute
Dim value As Boolean

value = instance.StripAfterObfuscation

instance.StripAfterObfuscation = value
public bool StripAfterObfuscation { get;
 set; }
public:
property bool StripAfterObfuscation {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_StripAfterObfuscation ()

/** @property */
public void set_StripAfterObfuscation (boolean
 value)
public function get StripAfterObfuscation
 () : boolean

public function set StripAfterObfuscation
 (value : boolean)

プロパティ
隠ぺいツールが処理後に属性削除する必要がある場合trueそれ以外場合false既定値true です。

解説解説
使用例使用例

隠ぺいツール隠ぺい後に属性削除しないように、StripAfterObfuscation プロパティfalse設定されている ObfuscationAttribute のコード例次に示しますExclude プロパティ既定値true であるため、Exclude プロパティfalse指定してMethodA隠ぺいから除外されないようにする必要があります

このコードは、コンパイルして実行することのできる例の一部です。詳細については、ObfuscationAttribute クラストピック参照してください

<ObfuscationAttribute(Exclude:=True, ApplyToMembers:=False)> _
Public Class Type2

    ' The exclusion of the type is not applied to its members,
    ' however in order to mark the member with the "default"
 
    ' feature it is necessary to specify Exclude:=False,
    ' because the default value of Exclude is True. The tool
    ' should not strip this attribute after obfuscation.
    <ObfuscationAttribute(Exclude:=False, _
        Feature:="default", StripAfterObfuscation:=False)>
 _
    Public Sub MethodA()
    End Sub

    ' This member is marked for obfuscation, because the 
    ' exclusion of the type is not applied to its members.
    Public Sub MethodB()
    End Sub

End Class
[ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
public class Type2
{

    // The exclusion of the type is not applied to its members,
    // however in order to mark the member with the "default"
 
    // feature it is necessary to specify Exclude=false,
    // because the default value of Exclude is true. The tool
    // should not strip this attribute after obfuscation.
    [ObfuscationAttribute(Exclude=false, Feature="default",
 
        StripAfterObfuscation=false)]
    public void MethodA() {}

    // This member is marked for obfuscation, because the 
    // exclusion of the type is not applied to its members.
    public void MethodB() {}

}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ObfuscationAttribute クラス
ObfuscationAttribute メンバ
System.Reflection 名前空間



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS