This documentation is archived and is not being maintained.

Server.SetDefaultInitFields Method

Specifies whether all the properties are fetched when objects are instantiated.

Updated text:

The SetDefaultInitFields method has several overloads that give you option to set the default initialization fields for a specified type, and for specified properties of the type.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Name Description
Server.SetDefaultInitFields (Boolean)
Specifies all the properties are fetched when objects are instantiated.
Server.SetDefaultInitFields (Type, Boolean)
Specifies all the properties are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, String[])
Specifies the properties that are fetched when objects of the specified type are instantiated.
Server.SetDefaultInitFields (Type, StringCollection)
Specifies the properties that are fetched when objects of the specified type are instantiated.

Release

History

New content:
  • Added code sample to the Example section.

  • Added to the description in the Remarks section.

Show: