# VisioShapeDataType

Visio Shape Data type values used by the ShapeSheet Prop.Type cell.

Enum 

`OfficeIMO.Visio`

**Namespace**

`OfficeIMO.Visio`

**Assembly**

`OfficeIMO.Visio`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[VisioShapeDataType.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L5)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Visio Shape Data type values used by the ShapeSheet Prop.Type cell.

## Inheritance

- Enum
- VisioShapeDataType

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Edit and Validate Visio Diagrams](/docs/visio/editing-and-validation/) Guide
  
  Load a VSDX file, find and update shapes by text or Shape Data, work with layers, and validate the result with OfficeIMO.Visio.

## Usage

Explore 17 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 10

- Property [VisioShapeDataField.Type](/api/visio/officeimo-visio-visioshapedatafield/#property-type)
- Property [VisioShapeDataRow.Type](/api/visio/officeimo-visio-visioshapedatarow/#property-type)
- Field [VisioShapeDataType.Boolean](/api/visio/officeimo-visio-visioshapedatatype/#field-boolean)
- Field [VisioShapeDataType.Currency](/api/visio/officeimo-visio-visioshapedatatype/#field-currency)
- Field [VisioShapeDataType.Date](/api/visio/officeimo-visio-visioshapedatatype/#field-date)
- Field [VisioShapeDataType.Duration](/api/visio/officeimo-visio-visioshapedatatype/#field-duration)
- Field [VisioShapeDataType.FixedList](/api/visio/officeimo-visio-visioshapedatatype/#field-fixedlist)
- Field [VisioShapeDataType.Number](/api/visio/officeimo-visio-visioshapedatatype/#field-number)
- Field [VisioShapeDataType.String](/api/visio/officeimo-visio-visioshapedatatype/#field-string)
- Field [VisioShapeDataType.VariableList](/api/visio/officeimo-visio-visioshapedatatype/#field-variablelist)

### Accepted by parameters 7

- Method [VisioGraphDiagramBuilder.EdgeShapeData](/api/visio/officeimo-visio-diagrams-visiographdiagrambuilder/#method-edgeshapedata-string-string-string-string-nullable-officeimo-visio-visioshapedatatype-string-string) parameter `type`
- Method [VisioGraphDiagramBuilder.NodeShapeData](/api/visio/officeimo-visio-diagrams-visiographdiagrambuilder/#method-nodeshapedata-string-string-string-string-nullable-officeimo-visio-visioshapedatatype-string-string) parameter `type`
- Method [VisioGraphDiagramBuilder.ZoneShapeData](/api/visio/officeimo-visio-diagrams-visiographdiagrambuilder/#method-zoneshapedata-string-string-string-string-nullable-officeimo-visio-visioshapedatatype-string-string) parameter `type`
- Method [VisioConnector.SetShapeData](/api/visio/officeimo-visio-visioconnector/#method-setshapedata-string-string-string-nullable-officeimo-visio-visioshapedatatype-string-string) parameter `type`
- Method [VisioShape.SetShapeData](/api/visio/officeimo-visio-visioshape/#method-setshapedata-string-string-string-nullable-officeimo-visio-visioshapedatatype-string-string) parameter `type`
- Method [VisioShapeDataSchema.Field](/api/visio/officeimo-visio-visioshapedataschema/#method-field-string-string-nullable-officeimo-visio-visioshapedatatype-string-string-string-string-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-collections-generic-ienumerable-system-string) parameter `type`
- Method [VisioShapeSelection.ShapeData](/api/visio/officeimo-visio-visioshapeselection/#method-shapedata-string-string-string-nullable-officeimo-visio-visioshapedatatype-string-string) parameter `type`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const VisioShapeDataType String` [#](#field-string)

[VisioShapeDataType.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L7)

String value.

Value: `0`

`public const VisioShapeDataType FixedList` [#](#field-fixedlist)

[VisioShapeDataType.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L9)

Fixed list value.

Value: `1`

`public const VisioShapeDataType Number` [#](#field-number)

[VisioShapeDataType.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L11)

Number value.

Value: `2`

`public const VisioShapeDataType Boolean` [#](#field-boolean)

[VisioShapeDataType.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L13)

Boolean value.

Value: `3`

`public const VisioShapeDataType VariableList` [#](#field-variablelist)

[VisioShapeDataType.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L15)

Variable list value.

Value: `4`

`public const VisioShapeDataType Date` [#](#field-date)

[VisioShapeDataType.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L17)

Date or time value.

Value: `5`

`public const VisioShapeDataType Duration` [#](#field-duration)

[VisioShapeDataType.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L19)

Duration value.

Value: `6`

`public const VisioShapeDataType Currency` [#](#field-currency)

[VisioShapeDataType.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/VisioShapeDataType.cs#L21)

Currency value.

Value: `7`

<!-- PowerForge markdown artifact sha256:DF7A7F2A717A980841B037B41E6C4E7E9E7AE96653C32B25C298A0702C8DCB3C -->
