This documentation is archived and is not being maintained.

FieldDefinitionCollection::TryGetByName Method

Gets the FieldDefinition object that has the specified name.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public:
FieldDefinition^ TryGetByName(
	String^ name
)

Parameters

name
Type: System::String

The name of the FieldDefinition object to get.

Return Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client::FieldDefinition
The FieldDefinition object that is associated with the specified name.

Does not throw an exception if not found.

Show: