Gets the item display. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim sender As Object
Dim classPropertyItem As ManagementClassPropertyDescription
Dim resultObject As IResultObject
Dim returnValue As String

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

Syntax

Visual Basic
Public Shared Function GetItemDisplay ( _
		sender As Object, _
		classPropertyItem As ManagementClassPropertyDescription, _
		resultObject As IResultObject _
) As String
C#
public static string GetItemDisplay (
		Object sender,
		ManagementClassPropertyDescription classPropertyItem,
		IResultObject resultObject
)
C++
public:
static String^ GetItemDisplay (
		Object^ sender, 
		ManagementClassPropertyDescription^ classPropertyItem, 
		IResultObject^ resultObject
)
J#
public static String GetItemDisplay (
		Object sender, 
		ManagementClassPropertyDescription classPropertyItem, 
		IResultObject resultObject
)
JScript
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.

classPropertyItem

[in] ManagementClassPropertyDescription object that represents the class property for 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