Partager via


ClientFeatureData.GetValueOrDefault Method (String, String)

 

Gets the value of the specified property or returns a default value.

Namespace:   Microsoft.WindowsServerSolutions.Reporting
Assembly:  AlertFramework (in AlertFramework.dll)

Syntax

public string GetValueOrDefault(
    string propertyName,
    string defaultValue
)
public:
String^ GetValueOrDefault(
    String^ propertyName,
    String^ defaultValue
)
Public Function GetValueOrDefault (
    propertyName As String,
    defaultValue As String
) As String

Parameters

  • propertyName
    Type: System.String

    The property for which the value is retrieved.

  • defaultValue
    Type: System.String

    The default value if the property cannot be found.

Return Value

Type: System.String

An instance of String that contains the value of the property or default value.

See Also

ClientFeatureData Class
Microsoft.WindowsServerSolutions.Reporting Namespace

Return to top