IFieldInfo.FieldNames Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the field names of serialized objects.

Namespace:   System.Runtime.Serialization.Formatters
Assembly:  mscorlib (in mscorlib.dll)

string[] FieldNames {
	[SecurityCriticalAttribute]
	get;
	[SecurityCriticalAttribute]
	set;
}

Property Value

Type: System.String[]

The field names of serialized objects.

Exception Condition
SecurityException

The caller does not have the required permission.

If a name is null, a default parameter name is used.

This property's get and set accessors are protected by a SecurityAction.LinkDemand for the SecurityPermission with the SecurityPermissionFlag.SerializationFormatter specified.

.NET Framework
Available since 1.1
Return to top
Show: