Share via


ActionCollection.Create Method

Creates an Action object in the collection.

Namespace:  Microsoft.SharePoint.BusinessData.Administration.Client
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntax

'Declaration
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    position As Byte, _
    isOpenedInNewWindow As Boolean, _
    url As String, _
    imageUrl As String _
) As Action
'Usage
Dim instance As ActionCollection
Dim name As String
Dim isCached As Boolean
Dim position As Byte
Dim isOpenedInNewWindow As Boolean
Dim url As String
Dim imageUrl As String
Dim returnValue As Action

returnValue = instance.Create(name, isCached, _
    position, isOpenedInNewWindow, url, _
    imageUrl)
public Action Create(
    string name,
    bool isCached,
    byte position,
    bool isOpenedInNewWindow,
    string url,
    string imageUrl
)

Parameters

  • isCached
    Type: System.Boolean

    true if the Action is cached; otherwise, false.

  • position
    Type: System.Byte

    The position of the Action in bytes.

  • isOpenedInNewWindow
    Type: System.Boolean

    true if opened in a new window; otherwise, false.

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.Client.Action
The created Action.

See Also

Reference

ActionCollection Class

ActionCollection Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace