SerializationRecord.TypeNameMatches(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the type name read from the payload against the specified type.
public:
bool TypeNameMatches(Type ^ type);
public bool TypeNameMatches(Type type);
member this.TypeNameMatches : Type -> bool
Public Function TypeNameMatches (type As Type) As Boolean
Parameters
- type
- Type
The type to compare against.
Returns
true
if the serialized type name match provided type; otherwise, false
.
Exceptions
type
is null
.
Remarks
This method ignores assembly names.
This method does NOT take into account member names or their types.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.