Savegame Pro Code Documentation
Savegame Pro Code Documentation
SavegamePro Namespaces
SavegamePro.Extensions
SurrogateSelectorExtensions Class
SurrogateSelectorExtensions Methods
CanSerialize Method
HasSurrogate Method
SurrogateSelectorExtensions
CanSerialize Method
Returns true if this selector can serialize the given propertyInfo
Namespace:
SavegamePro.Extensions
Assembly:
SavegameProDLL (in SavegameProDLL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
static
bool
CanSerialize
(
this
ISurrogateSelector
selector
,
PropertyInfo
propertyInfo
)
Parameters
selector
Type:
System.Runtime.Serialization
ISurrogateSelector
propertyInfo
Type:
System.Reflection
PropertyInfo
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
ISurrogateSelector
. 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
SurrogateSelectorExtensions Class
SavegamePro.Extensions Namespace