TSF.UmlToolingFramework.Wrappers.EA.Model.getAttributeWrapperByGUID C# (CSharp) Method

getAttributeWrapperByGUID() public method

gets the Attribute with the given GUID
public getAttributeWrapperByGUID ( string GUID ) : AttributeWrapper
GUID string the attribute's GUID
return AttributeWrapper
        public AttributeWrapper getAttributeWrapperByGUID(string GUID)
        {
            try
            {
            return this.factory.createElement(this.wrappedModel.GetAttributeByGuid(GUID)) as AttributeWrapper;
            }catch (Exception)
            {
            // attribute not found, return null
            return null;
            }
        }