TableObjectsTTryGetValue Method
|
Gets the table object associated with the specified name.
Namespace:
DXFReaderNET.Collections
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public bool TryGetValue(
string name,
out T item
)
Public Function TryGetValue (
name As String,
<OutAttribute> ByRef item As T
) As Boolean
public:
bool TryGetValue(
String^ name,
[OutAttribute] T% item
)
member TryGetValue :
name : string *
item : 'T byref -> bool
METHOD TryGetValue(
name AS STRING,
item OUT T
) AS LOGIC
Parameters
- name
- Type: SystemString
The name of the table object to get. - item
- Type: T
When this method returns, contains the table object associated with the specified name, if the key is found;
otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Type:
BooleanTrue if the table contains an element with the specified name; otherwise, false.
See Also