共用方式為


ActionDescription.objectTypes Field

Indicates the list of objects for which the menu will be displayed. The objects are stored in a System.Collections.Generic.List object that represent ActionDescription.ObjectProperties enumeration values for action object types.

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

Usage

'Usage
Dim instance As ActionDescription
Dim value As List(Of ObjectProperties)

value = instance.objectTypes

instance.objectTypes = value

Syntax

'Declaration
<XmlArrayAttribute("ValidTypes", IsNullable:=False)> _
Public objectTypes As List(Of ObjectProperties)
[XmlArrayAttribute("ValidTypes", IsNullable=false)] 
public List<ObjectProperties> objectTypes
[XmlArrayAttribute(L"ValidTypes", IsNullable=false)] 
public:
List<ObjectProperties^>^ objectTypes
/** @attribute XmlArrayAttribute("ValidTypes", IsNullable=false) */ 
public List<ObjectProperties> objectTypes
XmlArrayAttribute("ValidTypes", IsNullable=false) 
public var objectTypes : List<ObjectProperties>

Remarks

If the object type in the selection context does not match any item in the list, the action will not be added.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ActionDescription Class
ActionDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace
ActionDescription.ObjectProperties