UserSecretsIdAttribute クラス

定義

ユーザー シークレット ID を表します。

public ref class UserSecretsIdAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public class UserSecretsIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)>]
type UserSecretsIdAttribute = class
    inherit Attribute
Public Class UserSecretsIdAttribute
Inherits Attribute
継承
UserSecretsIdAttribute
属性

注釈

ほとんどの場合、この属性は、UserSecrets NuGet パッケージに含まれる MSBuild ターゲットによるコンパイル中に自動的に生成されます。 これらのターゲットは、MSBuild プロパティ 'UserSecretsId' を使用して、 UserSecretsIdの値を設定します。

コンストラクター

名前 説明
UserSecretsIdAttribute(String)

UserSecretsIdAttributeのインスタンスを初期化します。

プロパティ

名前 説明
UserSecretsId

ユーザー シークレット ID を取得します。

適用対象