| TMMatchContextTypesLengthInformation Field |
Indicates that length restrictions apply to the content.
This context type is also used for validation purposes.
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApiAssembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntaxpublic const string LengthInformation = "x-tm-length-info"
Public Const LengthInformation As String = "x-tm-length-info"
public:
literal String^ LengthInformation = "x-tm-length-info"
static val mutable LengthInformation: string
Field Value
Type:
String
Remarks
The context metadata should contain the type of length information (e.g. chars, bytes) and the maximum
and (optionally) minimum lengths as follows:
-
The metadata key MetaDataTypes.LengthType indicates the type of unit that the length limit
is measured in. Normally, it is set to one of the values in LengthTypes.
-
The maximum length (if applicable) is set as the value of the metadata key MetaDataTypes.MaxValue.
-
The minimum length (if applicable) is set as the value of the metadata key MetaDataTypes.MinValue.
See Also
Comments