StringResourceDictionary.GetString Method (String, String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves a string based on the specified key and default value.

Namespace:  System.Activities.Core.Design.Themes
Assembly:  System.Activities.Core.Design (in System.Activities.Core.Design.dll)

Syntax

'Declaration
Public Function GetString ( _
    key As String, _
    defaultValue As String _
) As String
'Usage
Dim instance As StringResourceDictionary
Dim key As String
Dim defaultValue As String
Dim returnValue As String

returnValue = instance.GetString(key, _
    defaultValue)
public string GetString(
    string key,
    string defaultValue
)
public:
String^ GetString(
    String^ key, 
    String^ defaultValue
)
public function GetString(
    key : String, 
    defaultValue : String
) : String
member GetString : 
        key:string * 
        defaultValue:string -> string 

Parameters

Return Value

Type: System.String
Returns a String that contains the string.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

StringResourceDictionary Class

StringResourceDictionary Members

GetString Overload

System.Activities.Core.Design.Themes Namespace