共用方式為


SPResourceMeasureCollection.Add method (String)

建構 SPResourceMeasure 物件的新執行個體。

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

Syntax

'宣告
Public Function Add ( _
    name As String _
) As SPResourceMeasure
'用途
Dim instance As SPResourceMeasureCollection
Dim name As String
Dim returnValue As SPResourceMeasure

returnValue = instance.Add(name)
public SPResourceMeasure Add(
    string name
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPResourceMeasure
會傳回新建立的SPResourceMeasure物件。

請參閱

參照

SPResourceMeasureCollection class

SPResourceMeasureCollection members

Add overload

Microsoft.SharePoint.Administration namespace