Share via


SPResourceMeasureCollection.Add method (String)

Constructs a new instance of a SPResourceMeasure object.

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

Syntax

'Declaration
Public Function Add ( _
    name As String _
) As SPResourceMeasure
'Usage
Dim instance As SPResourceMeasureCollection
Dim name As String
Dim returnValue As SPResourceMeasure

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

Parameters

Return value

Type: Microsoft.SharePoint.Administration.SPResourceMeasure
Returns a newly created SPResourceMeasure object.

See also

Reference

SPResourceMeasureCollection class

SPResourceMeasureCollection members

Add overload

Microsoft.SharePoint.Administration namespace