Rock.Model.DefinedTypeService.GetGuid C# (CSharp) Method

GetGuid() public method

Gets the Guid for the DefinedType that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
return Guid?
        public override Guid? GetGuid( int id )
        {
            var cacheItem = Rock.Web.Cache.DefinedTypeCache.Read( id );
            if ( cacheItem != null )
            {
                return cacheItem.Guid;
            }

            return null;
        }