|
TableOperationsTTryGetFieldAttribute(String, Type, Attribute) Method
|
Attempts to get the specified attributeType for a field.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic bool TryGetFieldAttribute(
string fieldName,
Type attributeType,
out Attribute attribute
)
Public Function TryGetFieldAttribute (
fieldName As String,
attributeType As Type,
<OutAttribute> ByRef attribute As Attribute
) As Boolean
public:
virtual bool TryGetFieldAttribute(
String^ fieldName,
Type^ attributeType,
[OutAttribute] Attribute^% attribute
) sealed
abstract TryGetFieldAttribute :
fieldName : string *
attributeType : Type *
attribute : Attribute byref -> bool
override TryGetFieldAttribute :
fieldName : string *
attributeType : Type *
attribute : Attribute byref -> bool
function TryGetFieldAttribute(fieldName, attributeType, attribute);
View SourceParameters
- fieldName String
- Name of field to use for attribute lookup.
- attributeType Type
- Type of attribute to attempt to get.
- attribute Attribute
- Attribute that was found, if any.
Return Value
Booleantrue if attribute was found; otherwise,
false.
Implements
ITableOperationsTryGetFieldAttribute(String, Type, Attribute)
ExceptionsException | Condition |
---|
ArgumentException | attributeType is not an Attribute. |
See Also