Udostępnij za pośrednictwem


SmsNamedValuesDictionary.Item Property

Gets or sets a property for the specified name.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As SmsNamedValuesDictionary
Dim propertyName As String
Dim value As Object

value = instance(propertyName)

instance(propertyName) = value

Syntax

'Declaration
Public Default Property Item ( _
    propertyName As String _
) As Object
public Object this [
    string propertyName
] { get; set; }
public:
property Object^ default [String^] {
    Object^ get (String^ propertyName);
    void set (String^ propertyName, Object^ value);
}
/** @property */
public Object get_Item (String propertyName)

/** @property */
public void set_Item (String propertyName, Object value)

Parameters

  • propertyName
    [in] Name of a property.

Property Value

System.Object instance that indicates the property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsNamedValuesDictionary Class
SmsNamedValuesDictionary Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace