Share via


CompileTimeConstantAttribute Class

Definition

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.

Applies to