The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MarshalAsAttribute::SafeArraySubType Field
.NET Framework (current version)
Indicates the element type of the UnmanagedType::SafeArray.
Assembly: mscorlib (in mscorlib.dll)
Field Value
Type: System.Runtime.InteropServices::VarEnumYou can set this field to a value from the System.Runtime.InteropServices::VarEnum enumeration to specify the type of the safe array's elements. If a type is not specified, the managed element type's default type (if passed as a VARIANT) is used. For example, the SafeArraySubType for an int array in COM is VT_I4. For additional information, see Default Marshaling for Arrays.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: