다음을 통해 공유


SerializationRecord.TypeNameMatches(Type) 메서드

정의

페이로드에서 읽은 형식 이름을 지정된 형식과 비교합니다.

public:
 bool TypeNameMatches(Type ^ type);
public bool TypeNameMatches (Type type);
member this.TypeNameMatches : Type -> bool
Public Function TypeNameMatches (type As Type) As Boolean

매개 변수

type
Type

비교할 형식입니다.

반환

serialize된 형식 이름이 제공된 형식과 일치하는지 true. 그렇지 않으면 false.

설명

이 메서드는 어셈블리 이름을 무시합니다.

이 메서드는 멤버 이름 또는 해당 genericTypes를 고려하지 않습니다.

적용 대상