Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ProfileShardName

Returns the shard name associated with the currently active profile.

Возвращает имя шарда, связанного с текущим активным профилем.

Pascal

function ProfileShardName: String;

Python

def ProfileShardName() -> str: ...

Pascal Example

begin
  AddToSystemJournal('Profile: ' + ProfileName + ', Shard: ' + ProfileShardName);
end.

Python Example

AddToSystemJournal(f'Profile: {ProfileName()}, Shard: {ProfileShardName()}')

See Also

ProfileName, ShardName, ShardPath