แชร์ผ่าน


UserSecretsIdAttribute Class

Definition

Represents the user secrets ID.

In most cases, this attribute is automatically generated during compilation by MSBuild targets included in the UserSecrets NuGet package. These targets use the MSBuild property 'UserSecretsId' to set the value for UserSecretsId.

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
Inheritance
UserSecretsIdAttribute
Attributes

Constructors

UserSecretsIdAttribute(String)

Initializes an instance of UserSecretsIdAttribute.

Properties

UserSecretsId

Gets the user secrets ID.

Applies to