Savegame Pro Code Documentation
Savegame Pro Code Documentation
SavegamePro Namespaces
SavegamePro.Extensions
TypeExtensions Class
TypeExtensions Methods
CanBeSerialized Method
CanBeSerialized Method (FieldInfo)
CanBeSerialized Method (PropertyInfo, ISurrogateSelector)
TypeExtensions
CanBeSerialized Method (PropertyInfo, ISurrogateSelector)
Returns true if propertyInfo can be serialized.
Namespace:
SavegamePro.Extensions
Assembly:
SavegameProDLL (in SavegameProDLL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
static
bool
CanBeSerialized
(
this
PropertyInfo
propertyInfo
,
ISurrogateSelector
selector
)
Parameters
propertyInfo
Type:
System.Reflection
PropertyInfo
selector
Type:
System.Runtime.Serialization
ISurrogateSelector
Return Value
Type:
Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PropertyInfo
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
TypeExtensions Class
CanBeSerialized Overload
SavegamePro.Extensions Namespace