System::BoxedValueBase::Parse method
Contents
[
Hide
]BoxedValueBase::Parse(const TypeInfo&, const String&, bool) method
Boxes the value of enumeration constant of the specified enumeration with the specified name. A parameter specifies if the case should be ignored when interpreting the string specifying the name of the enumeration constant.
static SharedPtr<Object> System::BoxedValueBase::Parse(const TypeInfo &type, const String &str, bool ignoreCase)
Parameter | Type | Description |
---|---|---|
type | const TypeInfo& | Specifies the type of the enumeration |
str | const String& | The name of the enumeration constant, value of which is to be boxed |
ignoreCase | bool | Specifies if case should be ignored when interpreting the string representing the name of the enumeration constant |
ReturnValue
A shared pointer to the object representing boxed value of the specified enumeration constant
See Also
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class String
- Class BoxedValueBase
- Namespace System
- Library Aspose.PUB for C++
BoxedValueBase::Parse(const TypeInfo&, const String&) method
Boxes the value of enumeration constant of the specified enumeration with the specified name.
static SharedPtr<Object> System::BoxedValueBase::Parse(const TypeInfo &type, const String &str)
Parameter | Type | Description |
---|---|---|
type | const TypeInfo& | Specifies the type of the enumeration |
str | const String& | The name of the enumeration constant, value of which is to be boxed |
ReturnValue
A shared pointer to the object representing boxed value of the specified enumeration constant
See Also
- Typedef SharedPtr
- Class Object
- Class TypeInfo
- Class String
- Class BoxedValueBase
- Namespace System
- Library Aspose.PUB for C++