LicFileLicenseProvider.IsKeyValid(String, Type) 메서드

정의

메서드가 검색하는 GetLicense(LicenseContext, Type, Object, Boolean) 키가 지정된 형식에 대해 유효한지 여부를 확인합니다.

protected:
 virtual bool IsKeyValid(System::String ^ key, Type ^ type);
protected virtual bool IsKeyValid(string? key, Type type);
protected virtual bool IsKeyValid(string key, Type type);
abstract member IsKeyValid : string * Type -> bool
override this.IsKeyValid : string * Type -> bool
Protected Overridable Function IsKeyValid (key As String, type As Type) As Boolean

매개 변수

key
String

LicenseKey 확인할 수 있습니다.

type
Type

를 요청하는 License구성 요소를 나타내는 A Type 입니다.

반품

키가 지정된 형식에 대해 유효하면 >이고, 그렇지 않으면 .

설명

이 메서드는 ", myClassName is a licensed component. 만들려는 구성 요소의 위치는 FullName 다음과 myClassName 같은 구에 대해 키를 확인합니다.

상속자 참고

이 클래스에서 상속하는 경우 이 메서드를 재정의하여 고유한 유효성 검사 논리를 제공할 수 있습니다.

적용 대상

추가 정보