IVertexCustom.TryGetCustomAttribute
IVertexCustom.TryGetCustomAttribute method
Tries to get a custom attribute.
public bool TryGetCustomAttribute(string attributeName, out object value)
Parameter | Type | Description |
---|---|---|
attributeName | String | The attribute name. |
value | Object& | the value if found, or null if not found. |
Return Value
true if the value was found. False otherwise.
Examples
public bool TryGetCustomAttribute(string attributeName, out object value)
{
if (attributeName != "CustomFloat") { value = null; return false; }
value = this.CustomValue; return true;
}
See Also
- interface IVertexCustom
- namespace Aspose.CAD.FileFormats.GLB.Geometry.VertexTypes
- assembly Aspose.CAD