C# Class Microsoft.ResourceManagement.ObjectModel.RmResource

IFormattable implementation of RmResource
Inheritance: IFormattable
显示文件 Open project: Predica/FimClient Class Usage Examples

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populate the SerializationInfo data needed to serialize the object.

ToString ( string format, IFormatProvider formatProvider ) : string

Return a string with the value of the attribute whose name is passed as format. If the attribute is multi valued, returns a string with the concatenation of the values separated by ';'

Protected Methods

Method Description
RmResource ( SerializationInfo info, StreamingContext context ) : System

Serialization constructor

The call to the base constructor ensures that the dictionary is created and filled with attribute names.

Private Methods

Method Description
GetString ( object x ) : string

Get string checking if object is null.

Method Details

GetObjectData() public method

Populate the SerializationInfo data needed to serialize the object.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

RmResource() protected method

Serialization constructor
The call to the base constructor ensures that the dictionary is created and filled with attribute names.
protected RmResource ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

ToString() public method

Return a string with the value of the attribute whose name is passed as format. If the attribute is multi valued, returns a string with the concatenation of the values separated by ';'
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
return string