Gets or sets a property for the specified name.
Namespace:
Microsoft.ConfigurationManagement.ManagementProvider
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
Dim instance As SmsNamedValuesDictionary
Dim propertyName As String
Dim value As Object
value = instance(propertyName)
instance(propertyName) = value
|
Syntax
Visual Basic |
Public Default Property Item ( _
propertyName As String _
) As Object
|
C# |
public Object this [
string propertyName
] { get; set; }
|
C++ |
public:
property Object^ default [String^] {
Object^ get (String^ propertyName);
void set (String^ propertyName, Object^ value);
}
|
J# |
/** @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