ESRI.ArcGIS.ADF.Core
GetString Method
See Also  Send comments on this topic.
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.

See Also

© 2010 All Rights Reserved.