Aspose::Words::MailMerging::MailMerge::GetFieldNamesForRegion method

MailMerge::GetFieldNamesForRegion(const System::String&) method

Returns a collection of mail merge field names available in the region.

System::ArrayPtr<System::String> Aspose::Words::MailMerging::MailMerge::GetFieldNamesForRegion(const System::String &regionName)
ParameterTypeDescription
regionNameconst System::String&Region name (case-insensitive).

Remarks

Returns full merge field names including optional prefix. Does not eliminate duplicate field names.

If document contains multiple regions with the same name the very first region is processed.

A new string array is created on every call.

See Also

MailMerge::GetFieldNamesForRegion(const System::String&, int32_t) method

Returns a collection of mail merge field names available in the region.

System::ArrayPtr<System::String> Aspose::Words::MailMerging::MailMerge::GetFieldNamesForRegion(const System::String &regionName, int32_t regionIndex)
ParameterTypeDescription
regionNameconst System::String&Region name (case-insensitive).
regionIndexint32_tRegion index (zero-based).

Remarks

Returns full merge field names including optional prefix. Does not eliminate duplicate field names.

If document contains multiple regions with the same name the Nth region (zero-based) is processed.

A new string array is created on every call.

See Also