IdentityReference.IsValidTargetType(Type) Método

Definição

Retorna um valor que indica se o tipo especificado é um tipo de translação válido para a classe IdentityReference.Returns a value that indicates whether the specified type is a valid translation type for the IdentityReference class.

public:
 abstract bool IsValidTargetType(Type ^ targetType);
public abstract bool IsValidTargetType (Type targetType);
abstract member IsValidTargetType : Type -> bool
Public MustOverride Function IsValidTargetType (targetType As Type) As Boolean

Parâmetros

targetType
Type

O tipo cuja validade está sendo consultada para servir como uma conversão de IdentityReference.The type being queried for validity to serve as a conversion from IdentityReference. Os seguintes tipos de destino são válidos:The following target types are valid: NTAccountSecurityIdentifier

Retornos

Boolean

true se targetType for um tipo de translação válido para a classe IdentityReference; caso contrário, false.true if targetType is a valid translation type for the IdentityReference class; otherwise, false.

Aplica-se a