HslReflectionHelperGetHslDeviceAddressAttribute 方法 |
从属性中获取对应的设备类型的地址特性信息
命名空间:
HslCommunication.Reflection
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static HslDeviceAddressAttribute GetHslDeviceAddressAttribute(
Type deviceType,
PropertyInfo property
)
Public Shared Function GetHslDeviceAddressAttribute (
deviceType As Type,
property As PropertyInfo
) As HslDeviceAddressAttribute
public:
static HslDeviceAddressAttribute^ GetHslDeviceAddressAttribute(
Type^ deviceType,
PropertyInfo^ property
)
static member GetHslDeviceAddressAttribute :
deviceType : Type *
property : PropertyInfo -> HslDeviceAddressAttribute
参数
- deviceType
- 类型:SystemType
设备类型信息 - property
- 类型:System.ReflectionPropertyInfo
属性信息
返回值
类型:
HslDeviceAddressAttribute设备类型信息
参见