ContainerItem.TryRemoveField Method

Remove the field that has the specified name.

Namespace:  Microsoft.TeamFoundation.Warehouse
Assembly:  Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)

Syntax

'Declaration
Public Function TryRemoveField ( _
    fieldName As String _
) As Boolean
public bool TryRemoveField(
    string fieldName
)
public:
bool TryRemoveField(
    String^ fieldName
)
member TryRemoveField : 
        fieldName:string -> bool
public function TryRemoveField(
    fieldName : String
) : boolean

Parameters

  • fieldName
    Type: System.String

    Name of field to delete. Cannot be null or empty.

Return Value

Type: System.Boolean
True if a field was removed otherwise false.

.NET Framework Security

See Also

Reference

ContainerItem Class

Microsoft.TeamFoundation.Warehouse Namespace