IFieldInfo.FieldTypes 属性
定义
获取或设置序列化对象的字段类型。Gets or sets the field types of the serialized objects.
public:
property cli::array <Type ^> ^ FieldTypes { cli::array <Type ^> ^ get(); void set(cli::array <Type ^> ^ value); };
public Type[]? FieldTypes { get; set; }
public Type[] FieldTypes { get; set; }
[get: System.Security.SecurityCritical]
[set: System.Security.SecurityCritical]
public Type[] FieldTypes { get; set; }
member this.FieldTypes : Type[] with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.FieldTypes : Type[] with get, set
Public Property FieldTypes As Type()
属性值
- Type[]
序列化对象的字段类型。The field types of the serialized objects.
- 属性
例外
调用方没有所要求的权限。The caller does not have the required permission.
注解
对于具有指定的的,此属性的 get 和 set 访问器由的 SecurityAction.LinkDemand 进行保护 SecurityPermission SecurityPermissionFlag.SerializationFormatter 。This property's get and set accessors are protected by a SecurityAction.LinkDemand for the SecurityPermission with the SecurityPermissionFlag.SerializationFormatter specified.