UserSecretsIdAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザー シークレット 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
- 継承
- 属性
注釈
ほとんどの場合、この属性は、UserSecrets NuGet パッケージに含まれる MSBuild ターゲットによるコンパイル中に自動的に生成されます。 これらのターゲットは、MSBuild プロパティ 'UserSecretsId' を使用して、 UserSecretsIdの値を設定します。
コンストラクター
| 名前 | 説明 |
|---|---|
| UserSecretsIdAttribute(String) |
UserSecretsIdAttributeのインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| UserSecretsId |
ユーザー シークレット ID を取得します。 |