共用方式為


IResultObject.Item Property

Gets or sets an item in the result object.

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

Usage

'Usage
Dim instance As IResultObject
Dim name As String
Dim value As IQueryPropertyItem

value = instance(name)

instance(name) = value

Syntax

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

/** @property */
void set_Item (String name, IQueryPropertyItem value)

Parameters

  • name
    [in] Name of the item.

Property Value

IQueryPropertyItem object.

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

IResultObject Interface
IResultObject Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
IQueryPropertyItem Interface