CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
field_info.h
1#pragma once
2
3#include <system/reflection/member_info.h>
4
5namespace System { namespace Reflection {
6
8class ASPOSECPP_SHARED_CLASS FieldInfo : public MemberInfo
9{
10public:
13 ASPOSECPP_SHARED_API bool get_IsStatic();
21 ASPOSECPP_SHARED_API void SetValue(const System::SharedPtr<System::Object>& obj, const System::SharedPtr<System::Object>& value);
24 ASPOSECPP_SHARED_API TypeInfo get_FieldType();
25};
26
27
28}
29}
Discovers the attributes of a field and provides access to field metadata.
Definition: field_info.h:9
void SetValue(const System::SharedPtr< System::Object > &obj, const System::SharedPtr< System::Object > &value)
Sets property value to specific object.
bool get_IsStatic()
Gets a value indicating whether the field is static.
System::SharedPtr< System::Object > GetValue(const System::SharedPtr< System::Object > &obj)
Gets property value from specific object.
TypeInfo get_FieldType()
Gets property type.
Provides reflection information on members. Objects of this class should only be allocated using Syst...
Definition: member_info.h:16
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Represents a particular type and provides information about it.
Definition: type_info.h:109
Definition: db_command.h:9