ContainerItem.TryRemoveField Method
Removes 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.StringName 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.