VolumeT.getIdentifier

Gets the identifier of the given kind for volume. See the introduction[volume-identifier] for more information about volume identifiers.

template VolumeT(TStruct)
string
getIdentifier
(
string kind
)

Parameters

kind string

the kind of identifier to return

Return Value

Type: string

a newly allocated string containing the requested identifier, or NULL if the GVolume doesn't have this kind of identifier