Table of Contents

Class StdLibConstantAttribute

Namespace
RDCore.SDK.Runtime.Abstract.StdLib
Assembly
RDCore.SDK.dll

Declares the VBA name of one constant of a standard-library enumeration, where it differs from the conventional one.

[AttributeUsage(AttributeTargets.Field)]
public sealed class StdLibConstantAttribute : Attribute
Inheritance
StdLibConstantAttribute
Inherited Members

Remarks

The conventional name is the field's own with its VB prefix cased down to vb, so VBSunday is vbSunday. This is for the ones that convention does not reach.

Constructors

StdLibConstantAttribute(string)

Declares the VBA name of one constant of a standard-library enumeration, where it differs from the conventional one.

public StdLibConstantAttribute(string name)

Parameters

name string

The constant's name in VBA source.

Remarks

The conventional name is the field's own with its VB prefix cased down to vb, so VBSunday is vbSunday. This is for the ones that convention does not reach.

Properties

Name

The constant's name in VBA source.

public string Name { get; }

Property Value

string