property NETObjectTemplate.AsInt as Long
Returns an integer value that represents the current object's value.

TypeDescription
Long A Long expression that specifies the Value converted as long (32-bit integer).
The AsInt property converts the Value to a long expression. If the conversion is not possible, the AsInt property returns 0. The Value property holds the original object. The VtType property indicates the VARIANT type of the object that the current NETObjectTemplate object holds. The Type property returns a string that specifies the fully assembly-qualified name of the type, which includes the name of the assembly from which this Type object is loaded. If the NETObjectTemplate holds a class or an object/IDispatch/IUnknown that supports properties, fields, members, any of these can be called through the NETObjectTemplate properties like: ItemSetTemplateDef or Template property.

You can use the following properties to convert the current Value to indicated standard types: