DefaultAttribute Class
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.
A default value that is assigned to a parameter. This attribute is optional.
public ref class DefaultAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class DefaultAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type DefaultAttribute = class
inherit Attribute
Public NotInheritable Class DefaultAttribute
Inherits Attribute
- Inheritance
-
DefaultAttribute
- Attributes
Remarks
This attribute is optional.
Constructors
DefaultAttribute(String, String) |
Initializes a new instance of the DefaultAttribute class. Set the default value for an EntityReference. |
DefaultAttribute(String) |
Initializes a new instance of the DefaultAttribute class. Set the default value of a parameter. |
Properties
EntityName |
The name of the entity of the value for an EntityReference. |
Value |
The default value. |