ESRI.ArcGIS.ADF.Core
GetString Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Resources Namespace > ResourceUtility Class : GetString Method




baseName
The root name of the resources. For example, the root name for the resource file 'MyResource.en-us.resx' is 'MyResource'
name
The name of the string to retrieve.
type
A type from the assembly containing the resource file.
Retrieves a string contained in a resource file.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetString( _
   ByVal baseName As String, _
   ByVal name As String, _
   ByVal type As Type _
) As String
Visual Basic (Usage)Copy Code
Dim baseName As String
Dim name As String
Dim type As Type
Dim value As String
 
value = ResourceUtility.GetString(baseName, name, type)
C# 
public static string GetString( 
   string baseName,
   string name,
   Type type
)

Parameters

baseName
The root name of the resources. For example, the root name for the resource file 'MyResource.en-us.resx' is 'MyResource'
name
The name of the string to retrieve.
type
A type from the assembly containing the resource file.

Return Value

The value of the string resource.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.