CompileTimeConstantAttribute 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.
An attribute used to mark that a property is available to be evaluated at compile time through ValueProvider. compile time. This is used by the VisualStudio.Extensibility libraries and it's not meant to be used directly by extenders.
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public class CompileTimeConstantAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type CompileTimeConstantAttribute = class
inherit Attribute
Public Class CompileTimeConstantAttribute
Inherits Attribute
- Inheritance
-
CompileTimeConstantAttribute
- Attributes
Constructors
CompileTimeConstantAttribute(Type) |
Initializes a new instance of the CompileTimeConstantAttribute class. |
Properties
ValueProvider |
Gets a type used by the VisualStudio.Extensibility build infrastructure to evalaute the value of the property at compile time. |