Namespace: MonoSoftware.Web.Workspace
Assembly: MonoSoftware.Web.Workspace (in MonoSoftware.Web.Workspace.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static string ToLocalizedString<TEntity>(
	this TEntity entity,
	IEntityFieldCore field
)
where TEntity : IEntity2
Visual Basic
<ExtensionAttribute> 
Public Shared Function ToLocalizedString(Of TEntity As IEntity2) ( 
	entity As TEntity,
	field As IEntityFieldCore
) As String
Visual C++
public:
[ExtensionAttribute]
generic<typename TEntity>
where TEntity : IEntity2
static String^ ToLocalizedString(
	TEntity entity, 
	IEntityFieldCore^ field
)
F#
static member ToLocalizedString : 
        entity : 'TEntity * 
        field : IEntityFieldCore -> string  when 'TEntity : IEntity2

Parameters

entity
Type: TEntity
field
Type: IEntityFieldCore

Type Parameters

TEntity

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also