CommonCAdapter.GetStructMemberStorage
- 更新时间2025-07-21
- 阅读时长1分钟
CommonCAdapter.GetStructMemberStorage
Syntax
CommonCAdapter.GetStructMemberStorage( typeDefinition, propertyLookupString)
Return Value
Use the following constants with this data type:
- StructMemberStorage_EmbeddedStruct –(Value: 32) Specifies to store a struct as a member inside the containing struct.
- StructMemberStorage_InlineString –(Value: 0) Specifies to store a string as an array of characters inside the struct.
- StructMemberStorage_LabVIEWString –(Value: 2) Specifies to store a string in the format used by DLLs created with the LabVIEW Application Builder. The CommonCAdapter.GetStructMemberType and CommonCAdapter.SetStructMemberType methods do not apply when the CommonCAdapter.GetStructMemberStorage method returns this value.
- StructMemberStorage_StringPointer –(Value: 1) Specifies to store a string as a character pointer. The characters themselves are stored at a memory location outside of the containing struct.
- StructMemberStorage_StructPointer –(Value: 33) Specifies to store a pointer inside the containing struct which points to a member struct at a memory location outside of the containing struct.
Purpose
Returns the kind of storage used for the type definition property that the corresponding location specifies.
Parameters
typeDefinition As PropertyObject
[In] Specifies the type definition. This method returns an error if the PropertyObject is not a type definition.
propertyLookupString As String
[In] Specifies the location of the property in the type definition.
See Also
CommonCAdapter.GetStructMemberStorage
CommonCAdapter.GetStructMemberType
CommonCAdapter.SetStructMemberStorage