Partilhar via


IMetadataObject.ContainsLocalizedDisplayName Method

Determines whether this metadata object contains a localized display name.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function ContainsLocalizedDisplayName As Boolean
'Usage
Dim instance As IMetadataObject
Dim returnValue As Boolean

returnValue = instance.ContainsLocalizedDisplayName()
bool ContainsLocalizedDisplayName()

Return Value

Type: System.Boolean
true if it contains a localized display name; otherwise, false.

Remarks

This method will check if the list of localized names contains an entry corresponding to the current UI culture. The result will be false if there is no localized name for the current UI culture, even though the list may contain other localized names. The current UI culture information can be accessed via the System.Threading.Thread.CurrentUICulture property on the current thread.

See Also

Reference

IMetadataObject Interface

IMetadataObject Members

Microsoft.BusinessData.MetadataModel Namespace