Compartir a través de


ConsoleParentNode.GetFolderIcon Method

Gets the folder icon for the console parent node.

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

Usage

'Usage
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

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

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.

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

Reference

ConsoleParentNode Class
ConsoleParentNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
AssemblyDescription
IResultObject