SecurityIdentifier.IsValidTargetType(Type) Metoda

Definicja

Zwraca wartość wskazującą, czy określony typ jest prawidłowym typem tłumaczenia dla SecurityIdentifier klasy.

public:
 override bool IsValidTargetType(Type ^ targetType);
public override bool IsValidTargetType (Type targetType);
override this.IsValidTargetType : Type -> bool
Public Overrides Function IsValidTargetType (targetType As Type) As Boolean

Parametry

targetType
Type

Typ, którego dotyczy zapytanie o ważność, służy jako konwersja z SecurityIdentifierklasy . Następujące typy docelowe są prawidłowe:

Zwraca

true jeśli targetType jest prawidłowym typem tłumaczenia dla SecurityIdentifier klasy; falsew przeciwnym razie .

Dotyczy