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

Inheritance: System.Attribute
Mostrar archivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method 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 method

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

IsSerializableObject() public static method

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

SerializableObjectAttribute() public method

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.
return System