function p = properties(obj)
%PROPERTIES Return properties of codistributed array
%   PROPERTIES(T)
%   
%   See also PROPERTIES, CODISTRIBUTED.
%   
%   


%   Copyright 2020 The MathWorks, Inc.
propNames = properties(distributedutil.Allocator.extractTemplate(obj));

if nargout == 0
    matlab.bigdata.internal.util.displayProperties(underlyingType(obj), propNames);
else
    p = reshape(propNames, [], 1);
end
end