> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class GreaterThanOrEqualToZeroAttribute

Namespace: [VM.Models.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre)\
Assembly: VM.Models.Pre.dll

This class implements attribute for Limit >= 0.

```csharp theme={null}
[Aspect(Scope.Global)]
[AttributeUsage(AttributeTargets.Method)]
[Injection(typeof(GreaterThanOrEqualToZeroAttribute))]
public class GreaterThanOrEqualToZeroAttribute : ValidationAttribute
```

#### Inheritance

object ←
Attribute ←
[ValidationAttribute](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models/Models/Attributes/ValidationAttribute.cs) ←
[GreaterThanOrEqualToZeroAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.GreaterThanOrEqualToZeroAttribute.md)

#### Inherited Members

[ValidationAttribute.CheckValidationCore(Attribute\[\], MethodBase, object\[\])](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models/Models/Attributes/ValidationAttribute.cs),
[ValidationAttribute.ValidationCondition(ValidationAttribute, string, object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models/Models/Attributes/ValidationAttribute.cs),
[ValidationAttribute.ExecuteException(string)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models/Models/Attributes/ValidationAttribute.cs),
[ValidationAttribute.Names](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models/Models/Attributes/ValidationAttribute.cs)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### GreaterThanOrEqualToZeroAttribute()

Initializes a new instance of the [GreaterThanOrEqualToZeroAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.GreaterThanOrEqualToZeroAttribute.md) class.

```csharp theme={null}
public GreaterThanOrEqualToZeroAttribute()
```

### GreaterThanOrEqualToZeroAttribute(params string\[])

Initializes a new instance of the [GreaterThanOrEqualToZeroAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.GreaterThanOrEqualToZeroAttribute.md) class.

```csharp theme={null}
public GreaterThanOrEqualToZeroAttribute(params string[] names)
```

#### Parameters

`names` string\[]

The target names

## Fields

### \_\_a\$\_instance

```csharp theme={null}
public static readonly GreaterThanOrEqualToZeroAttribute __a$_instance
```

#### Field Value

[GreaterThanOrEqualToZeroAttribute](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.GreaterThanOrEqualToZeroAttribute.md)

## Methods

### CheckValidation(MethodBase, object\[], Attribute\[])

Check validation.

```csharp theme={null}
[Advice(Kind.Before, Targets = Target.Any)]
public void CheckValidation(MethodBase method, object[] argument, Attribute[] triggers)
```

#### Parameters

`method` MethodBase

The method.

`argument` object\[]

The argument.

`triggers` Attribute\[]

The triggers

### ExecuteException(string)

Execute exception.

```csharp theme={null}
protected override void ExecuteException(string name)
```

#### Parameters

`name` string

The argument name.

### ValidationCondition(ValidationAttribute, string, object)

validation condition.

```csharp theme={null}
protected override bool ValidationCondition(ValidationAttribute attribute, string paramName, object argument)
```

#### Parameters

`attribute` [ValidationAttribute](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Models/Models/Attributes/ValidationAttribute.cs)

The attribute.

`paramName` string

The parameter name.

`argument` object

The argument.

#### Returns

bool

The flag for success.
