Share via


IManagementHost.UserData Property

Definition

Gets the IDictionary interface in which to store global settings.

public:
 property System::Collections::IDictionary ^ UserData { System::Collections::IDictionary ^ get(); };
public System.Collections.IDictionary UserData { get; }
member this.UserData : System.Collections.IDictionary
Public ReadOnly Property UserData As IDictionary

Property Value

The IDictionary interface in which to store global settings.

Examples

The following example gets the user-data collection.

IDictionary IManagementHost.UserData {
    get {
        if (_properties == null) {
            _properties = new ListDictionary();
        }

        return _properties;
    }
} 

Applies to