TryGetExtendedProperty<T> method
bool
TryGetExtendedProperty<T>(
- ExtendedPropertyDefinition propertyDefinition,
- OutParam<
T> propertyValueOutParam
Implementation
bool TryGetExtendedProperty<T>(ExtendedPropertyDefinition propertyDefinition,
OutParam<T> propertyValueOutParam) {
ExtendedPropertyCollection? propertyCollection =
this.GetExtendedProperties();
if ((propertyCollection != null) &&
propertyCollection.TryGetValue<T>(
propertyDefinition, propertyValueOutParam)) {
return true;
} else {
propertyValueOutParam.param = null;
return false;
}
}