PropertyInformation.DefaultValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object containing the default value related to a configuration attribute.
public:
property System::Object ^ DefaultValue { System::Object ^ get(); };
public object DefaultValue { get; }
member this.DefaultValue : obj
Public ReadOnly Property DefaultValue As Object
Property Value
An object containing the default value of the configuration attribute.
Examples
The following code example demonstrates how to use the DefaultValue property. This code example is part of a larger example provided for the PropertyInformation class.
// Display the DefaultValue property.
Console.WriteLine("DefaultValue: {0}",
propertyItem.DefaultValue);
' Display the DefaultValue property.
Console.WriteLine("DefaultValue: {0}", _
propertyItem.DefaultValue) _
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.