SecurityIdentifier.IsValidTargetType(Type) 方法

定義

傳回值,指出指定型別是否為 SecurityIdentifier 類別的有效轉譯型別。

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

參數

targetType
Type

正在查詢是否可有效做為 SecurityIdentifier 的轉換目標之型別。 下列是有效的目標型別:

傳回

Boolean

如果 targetTypeSecurityIdentifier 類別的有效轉譯型別則為 true,否則為 false

適用於