共用方式為


Action Members

Include Protected Members
Include Inherited Members

Represents an Action in the Business Data Connectivity (BDC) service. A type of MetadataObject that represents a URL that triggers the display or manipulation of data related to an Entity or an entity instance. Actions are contained by an entity. Actions contain ActionParameters.

The Action type exposes the following members.

Properties

  Name Description
Public property ActionParameters Gets the parameters of this Action.
Public property DefaultDisplayName Gets or sets the default display name. (Inherited from MetadataObject.)
Public property Entity Gets the external content type that is the parent of this Action.
Public property Id Gets the identifier of the MetadataObject object. (Inherited from MetadataObject.)
Public property ImageUrl Gets or sets the URL of the icon image for this action.
Public property IsCached Indicates whether the object is cached. (Inherited from MetadataObject.)
Public property IsOpenedInNewWindow Gets or sets a value that indicates if the URL of this action should be opened in a new window.
Public property LocalizedDisplayName Gets or sets the localized display name. (Inherited from MetadataObject.)
Public property LocalizedDisplayNames Gets the collection of localized display names. (Inherited from MetadataObject.)
Public property Name Gets or sets the name of the Action.
Public property Position Gets or sets the order of the action to be displayed.
Public property Properties Gets the property collection of the object. (Inherited from MetadataObject.)
Public property Url Gets or sets the URL to go to when the Action is clicked.

Top

Methods

  Name Description
Public method ContainsLocalizedDisplayName Indicates whether the object contains a localized display name. (Inherited from MetadataObject.)
Public method Delete Deletes the MetadataObject object. (Inherited from MetadataObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccessControlList() Gets the access control list for this metadata object. (Inherited from AccessControlledMetadataObject.)
Public method GetAccessControlList(String) Gets the access control list for this metadata object by using a setting identifier. (Inherited from AccessControlledMetadataObject.)
Public methodStatic member GetById Gets the Action by using the Action identifier.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member MergeXml Reads the Action definition from the specified resource XML for the specified external content type, and then merges its properties, localized names, and access control entries with the existing Action in the metadata store.
Public method Read Reads this Action from the database and refreshes its contents ignoring any changes since the last time it was read. (Overrides MetadataObject.Read().)
Protected method ReadCommon This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from MetadataObject.)
Public methodStatic member ReadXml Reads the Action definition from the specified metadata XML for the specified external content type.
Public method ToString (Inherited from Object.)
Public method Update Updates the object. (Inherited from MetadataObject.)
Public method WriteSlicedXml Writes a sliced XML fragment in the metadata store. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents) Returns the XML representation of the MetadataObject. (Inherited from MetadataObject.)
Public method WriteXml(PackageContents, String) Returns the XML representation of the MetadataObject, which is generated using the properties, localized names, and access control entries from the specified setting. (Inherited from MetadataObject.)

Top

See Also

Reference

Action Class

Microsoft.SharePoint.BusinessData.Administration Namespace