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)
Syntax
'Declaração
Public Function TryGetByName ( _
name As String _
) As FieldDefinition
public FieldDefinition TryGetByName(
string name
)
public:
FieldDefinition^ TryGetByName(
String^ name
)
member TryGetByName :
name:string -> FieldDefinition
public function TryGetByName(
name : String
) : FieldDefinition
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.
Remarks
Does not throw an exception if not found.
.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.