Gets the folder icon for the console parent node. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim sender As Object
Dim scopeNode As ScopeNode
Dim resultObject As IResultObject
Dim assembly As AssemblyDescription
Dim returnValue As Boolean

returnValue = ConsoleParentNode.GetFolderIcon(sender, scopeNode, resultObject, assembly)

Syntax

Visual Basic
Public Shared Function GetFolderIcon ( _
		sender As Object, _
		scopeNode As ScopeNode, _
		resultObject As IResultObject, _
		<OutAttribute> ByRef assembly As AssemblyDescription _
) As Boolean
C#
public static bool GetFolderIcon (
		Object sender,
		ScopeNode scopeNode,
		IResultObject resultObject,
		out AssemblyDescription assembly
)
C++
public:
static bool GetFolderIcon (
		Object^ sender, 
		ScopeNode^ scopeNode, 
		IResultObject^ resultObject, 
		[OutAttribute] AssemblyDescription^% assembly
)
J#
public static boolean GetFolderIcon (
		Object sender, 
		ScopeNode scopeNode, 
		IResultObject resultObject, 
		/** @attribute OutAttribute() */ /** @ref */ AssemblyDescription assembly
)
JScript

Parameters

sender

[in] System.Object instance that indicates the sender of an event notifying that a folder icon is required.

scopeNode

[in] Microsoft.ManagementConsole.ScopeNode object.

resultObject

[in] IResultObject interface to use for getting or setting result object properties.

assembly

[in] AssemblyDescription object for the folder icon.

Return Value

true if the folder icon is retrieved; otherwise false.

Exceptions

Exception type Condition
ArgumentNullException

The resultObject parameter cannot be null.

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