Freigeben über


UtilityClass.GetItemDisplay Method

Gets the item display.

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

Usage

'Usage
Dim sender As Object
Dim classPropertyItem As ManagementClassPropertyDescription
Dim resultObject As IResultObject
Dim returnValue As String

returnValue = UtilityClass.GetItemDisplay(sender, classPropertyItem, resultObject)

Syntax

'Declaration
Public Shared Function GetItemDisplay ( _
    sender As Object, _
    classPropertyItem As ManagementClassPropertyDescription, _
    resultObject As IResultObject _
) As String
public static string GetItemDisplay (
    Object sender,
    ManagementClassPropertyDescription classPropertyItem,
    IResultObject resultObject
)
public:
static String^ GetItemDisplay (
    Object^ sender, 
    ManagementClassPropertyDescription^ classPropertyItem, 
    IResultObject^ resultObject
)
public static String GetItemDisplay (
    Object sender, 
    ManagementClassPropertyDescription classPropertyItem, 
    IResultObject resultObject
)
public static function GetItemDisplay (
    sender : Object, 
    classPropertyItem : ManagementClassPropertyDescription, 
    resultObject : IResultObject
) : String

Parameters

  • sender
    [in] System.Object instance that indicates the sender of an event requesting the item display.
  • resultObject
    [in] IResultObject interface for the item to display.

Return Value

Item display string.

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

UtilityClass Class
UtilityClass Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ManagementClassPropertyDescription
IResultObject