Delete a named attribute from the Variable Attributes set.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function delAttr( _ ByVal name As String _ ) As Integer |
| C# |
|---|
| public int delAttr( string name ) |
| C++ |
|---|
| public: int delAttr( String name ) sealed |
| J# |
|---|
| public int delAttr( string name ) |
| JScript |
|---|
| public
function delAttr( name : String ) : int |
Parameters
- name
- the name of the attribute to be deleted.
Return Value
1 if it was deleted, 0 if no such attribute exists.
Exceptions
| Exception Type | Condition |
|---|---|
| ArgumentException | if name is null. |
Remarks
This deletes a named attribute from this Variable Attributes set if it exists. It does nothing if it does not exist.