IdentityReference.Translate(Type) 方法

定义

IdentityReference 对象表示的帐户名转换为另一 IdentityReference 派生的类型。

public:
 abstract System::Security::Principal::IdentityReference ^ Translate(Type ^ targetType);
public abstract System.Security.Principal.IdentityReference Translate (Type targetType);
abstract member Translate : Type -> System.Security.Principal.IdentityReference
Public MustOverride Function Translate (targetType As Type) As IdentityReference

参数

targetType
Type

IdentityReference 进行的转换的目标类型。

返回

IdentityReference

转换后的标识。

适用于