Udostępnij za pośrednictwem


AppSettingsDesignTime.MetadataTypes.KeyValueConfigurationElementMetadata.Key Property

This property supports the Enterprise Library infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
<ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ConfigurationProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")> _
<EnvironmentalOverridesAttribute(False)> _
Public MustOverride Property Key As String
[ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ConfigurationProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")]
[EnvironmentalOverridesAttribute(false)]
public abstract string Key { get; set; }
[ViewModelAttribute(L"Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ConfigurationProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")]
[EnvironmentalOverridesAttribute(false)]
public:
virtual property String^ Key {
    String^ get () abstract;
    void set (String^ value) abstract;
}
public abstract function get Key () : String
public abstract function set Key (value : String)

See Also

AppSettingsDesignTime.MetadataTypes.KeyValueConfigurationElementMetadata Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace