VersionConverter Třída

Definice

Poskytuje konvertor typu pro převod Version objektů do a z různých dalších reprezentace.Provides a type converter to convert Version objects to and from various other representations.

public ref class VersionConverter : System::ComponentModel::TypeConverter
public class VersionConverter : System.ComponentModel.TypeConverter
type VersionConverter = class
    inherit TypeConverter
Public Class VersionConverter
Inherits TypeConverter
Dědičnost
VersionConverter

Konstruktory

VersionConverter()

Inicializuje novou instanci VersionConverter třídy.Initializes a new instance of the VersionConverter class.

Metody

CanConvertFrom(ITypeDescriptorContext, Type)

Získá hodnotu, která označuje, zda tento převaděč může převést objekt v daném typu zdroje na Version .Gets a value indicating whether this converter can convert an object in the given source type to a Version.

CanConvertFrom(Type)

Vrátí, zda tento převaděč může převést objekt daného typu na typ tohoto převaděče.Returns whether this converter can convert an object of the given type to the type of this converter.

(Zděděno od TypeConverter)
CanConvertTo(ITypeDescriptorContext, Type)

Získá hodnotu, která označuje, zda tento převaděč může převést objekt na daný cílový typ pomocí kontextu.Gets a value indicating whether this converter can convert an object to the given destination type using the context.

CanConvertTo(Type)

Vrátí, zda tento převaděč může převést objekt na zadaný typ.Returns whether this converter can convert the object to the specified type.

(Zděděno od TypeConverter)
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

Převede zadaný objekt na Version .Converts the specified object to a Version.

ConvertFrom(Object)

Převede danou hodnotu na typ tohoto převaděče.Converts the given value to the type of this converter.

(Zděděno od TypeConverter)
ConvertFromInvariantString(ITypeDescriptorContext, String)

Převede daný řetězec na typ tohoto převaděče s použitím neutrální jazykové verze a zadaného kontextu.Converts the given string to the type of this converter, using the invariant culture and the specified context.

(Zděděno od TypeConverter)
ConvertFromInvariantString(String)

Převede daný řetězec na typ tohoto převaděče s použitím invariantní jazykové verze.Converts the given string to the type of this converter, using the invariant culture.

(Zděděno od TypeConverter)
ConvertFromString(ITypeDescriptorContext, CultureInfo, String)

Převede daný text na objekt pomocí zadaných informací o kontextu a jazykové verzi.Converts the given text to an object, using the specified context and culture information.

(Zděděno od TypeConverter)
ConvertFromString(ITypeDescriptorContext, String)

Převede daný text na objekt pomocí zadaného kontextu.Converts the given text to an object, using the specified context.

(Zděděno od TypeConverter)
ConvertFromString(String)

Převede zadaný text na objekt.Converts the specified text to an object.

(Zděděno od TypeConverter)
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Převede zadanou hodnotu na zadaný cílový typ pomocí zadaného kontextu a argumentů.Converts the specified value to the specified destination type using the specified context and arguments.

ConvertTo(Object, Type)

Převede daný objekt Value na zadaný typ pomocí argumentů.Converts the given value object to the specified type, using the arguments.

(Zděděno od TypeConverter)
ConvertToInvariantString(ITypeDescriptorContext, Object)

Převede zadanou hodnotu na reprezentaci typu invariantní řetězcové verze pomocí zadaného kontextu.Converts the specified value to a culture-invariant string representation, using the specified context.

(Zděděno od TypeConverter)
ConvertToInvariantString(Object)

Převede zadanou hodnotu na reprezentaci neutrální řetězcové verze.Converts the specified value to a culture-invariant string representation.

(Zděděno od TypeConverter)
ConvertToString(ITypeDescriptorContext, CultureInfo, Object)

Převede danou hodnotu na řetězcovou reprezentaci pomocí zadaných informací o kontextu a jazykové verzi.Converts the given value to a string representation, using the specified context and culture information.

(Zděděno od TypeConverter)
ConvertToString(ITypeDescriptorContext, Object)

Převede danou hodnotu na řetězcovou reprezentaci pomocí daného kontextu.Converts the given value to a string representation, using the given context.

(Zděděno od TypeConverter)
ConvertToString(Object)

Převede zadanou hodnotu na řetězcovou reprezentaci.Converts the specified value to a string representation.

(Zděděno od TypeConverter)
CreateInstance(IDictionary)

Znovu vytvoří Object danou sadu hodnot vlastností pro objekt.Re-creates an Object given a set of property values for the object.

(Zděděno od TypeConverter)
CreateInstance(ITypeDescriptorContext, IDictionary)

Vytvoří instanci typu, TypeConverter ke kterému je přidruženo, pomocí zadaného kontextu s ohledem na sadu hodnot vlastností pro objekt.Creates an instance of the type that this TypeConverter is associated with, using the specified context, given a set of property values for the object.

(Zděděno od TypeConverter)
Equals(Object)

Určí, zda se zadaný objekt rovná aktuálnímu objektu.Determines whether the specified object is equal to the current object.

(Zděděno od Object)
GetConvertFromException(Object)

Vrátí výjimku, která se má vyvolat, když se nedá provést převod.Returns an exception to throw when a conversion cannot be performed.

(Zděděno od TypeConverter)
GetConvertToException(Object, Type)

Vrátí výjimku, která se má vyvolat, když se nedá provést převod.Returns an exception to throw when a conversion cannot be performed.

(Zděděno od TypeConverter)
GetCreateInstanceSupported()

Vrátí, zda změna hodnoty na tomto objektu vyžaduje volání CreateInstance(IDictionary) metody pro vytvoření nové hodnoty.Returns whether changing a value on this object requires a call to the CreateInstance(IDictionary) method to create a new value.

(Zděděno od TypeConverter)
GetCreateInstanceSupported(ITypeDescriptorContext)

Vrátí, zda změna hodnoty na tomto objektu vyžaduje volání CreateInstance(IDictionary) k vytvoření nové hodnoty pomocí zadaného kontextu.Returns whether changing a value on this object requires a call to CreateInstance(IDictionary) to create a new value, using the specified context.

(Zděděno od TypeConverter)
GetHashCode()

Slouží jako výchozí funkce hash.Serves as the default hash function.

(Zděděno od Object)
GetProperties(ITypeDescriptorContext, Object)

Vrátí kolekci vlastností pro typ pole určeného parametrem value pomocí zadaného kontextu.Returns a collection of properties for the type of array specified by the value parameter, using the specified context.

(Zděděno od TypeConverter)
GetProperties(ITypeDescriptorContext, Object, Attribute[])

Vrátí kolekci vlastností pro typ pole určeného parametrem value pomocí zadaného kontextu a atributů.Returns a collection of properties for the type of array specified by the value parameter, using the specified context and attributes.

(Zděděno od TypeConverter)
GetProperties(Object)

Vrátí kolekci vlastností pro typ pole určeného parametrem value.Returns a collection of properties for the type of array specified by the value parameter.

(Zděděno od TypeConverter)
GetPropertiesSupported()

Vrátí, zda tento objekt podporuje vlastnosti.Returns whether this object supports properties.

(Zděděno od TypeConverter)
GetPropertiesSupported(ITypeDescriptorContext)

Vrátí, zda tento objekt podporuje vlastnosti pomocí zadaného kontextu.Returns whether this object supports properties, using the specified context.

(Zděděno od TypeConverter)
GetStandardValues()

Vrátí kolekci standardních hodnot z výchozího kontextu pro datový typ, pro který je tento konvertor typu určen.Returns a collection of standard values from the default context for the data type this type converter is designed for.

(Zděděno od TypeConverter)
GetStandardValues(ITypeDescriptorContext)

Vrátí kolekci standardních hodnot pro datový typ, pro který je tento konvertor typu určen, pokud je k dispozici v kontextu formátu.Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.

(Zděděno od TypeConverter)
GetStandardValuesExclusive()

Vrátí, zda kolekce standardních hodnot vrácená z GetStandardValues() je exkluzivní seznam.Returns whether the collection of standard values returned from GetStandardValues() is an exclusive list.

(Zděděno od TypeConverter)
GetStandardValuesExclusive(ITypeDescriptorContext)

Vrátí, zda kolekce standardních hodnot vrácená z GetStandardValues() je exkluzivní seznam možných hodnot pomocí zadaného kontextu.Returns whether the collection of standard values returned from GetStandardValues() is an exclusive list of possible values, using the specified context.

(Zděděno od TypeConverter)
GetStandardValuesSupported()

Vrátí, zda tento objekt podporuje standardní sadu hodnot, které lze vybrat ze seznamu.Returns whether this object supports a standard set of values that can be picked from a list.

(Zděděno od TypeConverter)
GetStandardValuesSupported(ITypeDescriptorContext)

Vrátí, zda tento objekt podporuje standardní sadu hodnot, které mohou být vydány ze seznamu pomocí zadaného kontextu.Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.

(Zděděno od TypeConverter)
GetType()

Získá Type aktuální instanci.Gets the Type of the current instance.

(Zděděno od Object)
IsValid(ITypeDescriptorContext, Object)

Vrací hodnotu, která označuje, zda je daný objekt Value platný pro tento typ a pro zadaný kontext.Returns a value that indicates whether the given value object is valid for this type and for the specified context.

IsValid(Object)

Vrátí, zda je daný objekt Value pro tento typ platný.Returns whether the given value object is valid for this type.

(Zděděno od TypeConverter)
MemberwiseClone()

Vytvoří kopii aktuálního seznamu Object .Creates a shallow copy of the current Object.

(Zděděno od Object)
SortProperties(PropertyDescriptorCollection, String[])

Seřadí kolekci vlastností.Sorts a collection of properties.

(Zděděno od TypeConverter)
ToString()

Vrátí řetězec, který představuje aktuální objekt.Returns a string that represents the current object.

(Zděděno od Object)

Platí pro