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)
Available in Sandboxed Solutions: No

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