C# Class Microsoft.Protocols.TestSuites.MS_OXCFXICS.SerializableObjectAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
GetSerializableObject ( object obj ) : SerializableObjectAttribute

Reflect the first SerializableObject from an object.

IsSerializableObject ( object obj ) : bool

Indicate whether a class has a SerializableObject attribute.

SerializableObjectAttribute ( bool useSelfSerialize, bool useSelfDeserialize ) : System

Initializes a new instance of the SerializableObjectAttribute class.

Method Details

GetSerializableObject() public static méthode

Reflect the first SerializableObject from an object.
public static GetSerializableObject ( object obj ) : SerializableObjectAttribute
obj object An object instance.
Résultat SerializableObjectAttribute

IsSerializableObject() public static méthode

Indicate whether a class has a SerializableObject attribute.
public static IsSerializableObject ( object obj ) : bool
obj object The object.
Résultat bool

SerializableObjectAttribute() public méthode

Initializes a new instance of the SerializableObjectAttribute class.
public SerializableObjectAttribute ( bool useSelfSerialize, bool useSelfDeserialize ) : System
useSelfSerialize bool Whether to use self-Serialize method.
useSelfDeserialize bool Whether to use self deserialize method.
Résultat System