Editare

Partajați prin


ConfigurationProperty.Name Property

Definition

Gets the name of this ConfigurationProperty.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The name of the ConfigurationProperty.

Examples

The following code example shows how to get the Name for a specified property.

string name = _MaxIdleTime.Name;
Console.WriteLine("MaxIdleTime name: {0}", name);
Dim name As String = _MaxIdleTime.Name
Console.WriteLine("MaxIdleTime name: {0}", name)

Remarks

If an instance of a ConfigurationProperty is a default collection, its name will be automatically defined to be an empty string.

Applies to

See also