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
name
Type: System.StringName of the SPResourceMeasure object.
Return Value
Type: Microsoft.SharePoint.Administration.SPResourceMeasure
Returns a newly created SPResourceMeasure object.
See Also
Reference
SPResourceMeasureCollection Class