Freigeben über


InstanceValueElement.Value Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

Value to use to initialize the instance.

Namespace:  Microsoft.Practices.Unity.Configuration
Assembly:  Microsoft.Practices.Unity.Configuration (in Microsoft.Practices.Unity.Configuration.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("value", IsRequired := True)> _
Public Property Value As String
[ConfigurationPropertyAttribute("value", IsRequired = true)]
public string Value { get; set; }
[ConfigurationPropertyAttribute(L"value", IsRequired = true)]
public:
property String^ Value {
    String^ get ();
    void set (String^ value);
}
public function get Value () : String
public function set Value (value : String)

See Also

InstanceValueElement Class

Microsoft.Practices.Unity.Configuration Namespace