共用方式為


Add 方法

Adds an object to the end of the AceCollection.

命名空間:  Microsoft.ReportingServices.Interfaces
組件:   Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)

語法

'宣告
Public Function Add ( _
    ace As AceStruct _
) As Integer
'用途
Dim instance As AceCollection
Dim ace As AceStruct
Dim returnValue As Integer

returnValue = instance.Add(ace)
public int Add(
    AceStruct ace
)
public:
int Add(
    AceStruct^ ace
)
member Add : 
        ace:AceStruct -> int 
public function Add(
    ace : AceStruct
) : int

參數

傳回值

型別:System. . :: . .Int32
The position into which the new access control entry was inserted.