INormalizeForIsolatedStorage.Normalize 方法

定义

当在派生类中重写时,返回在其上调用它的对象的正常化副本。When overridden in a derived class, returns a normalized copy of the object on which it is called.

public:
 System::Object ^ Normalize();
public object Normalize ();
abstract member Normalize : unit -> obj
Public Function Normalize () As Object

返回

Object

一个正常化的对象,它表示在其上调用该方法的实例。A normalized object that represents the instance on which this method was called. 该实例可以是字符串、流或任何可序列化的对象。This instance can be a string, stream, or any serializable object.

实施者说明

当重写此方法并且返回的对象是流时,将假定它是序列化的,并与用于创建现有存储区的证据的序列化形式直接进行比较。When you override this method and the object returned is a stream, it is assumed to be serialized and is compared directly to the serialized form of the evidence used to create existing stores. 如果返回的对象是一个字符串,则将其视为独立存储区的名称,并与现有存储区的名称进行比较。If the object returned is a string, it is considered the name of an isolated store and compared to the names of the existing stores.

调用方说明

如果要编写从独立存储派生的类,并且需要检查是否已存在当前程序集的独立存储,则通常会调用此方法。You typically call this method if you are writing a class derived from isolated storage and you need to check to see if isolated storage already exists for the current assembly.

适用于