EdmStringConstant Class
Represents an EDM string constant.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.Values.EdmValue
Microsoft.Data.Edm.Library.Values.EdmStringConstant
Namespace: Microsoft.Data.Edm.Library.Values
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmStringConstant _
Inherits EdmValue _
Implements IEdmStringConstantExpression, IEdmExpression, IEdmStringValue, IEdmPrimitiveValue, _
IEdmValue, IEdmElement
'Usage
Dim instance As EdmStringConstant
public class EdmStringConstant : EdmValue,
IEdmStringConstantExpression, IEdmExpression, IEdmStringValue, IEdmPrimitiveValue, IEdmValue,
IEdmElement
public ref class EdmStringConstant : public EdmValue,
IEdmStringConstantExpression, IEdmExpression, IEdmStringValue, IEdmPrimitiveValue, IEdmValue,
IEdmElement
type EdmStringConstant =
class
inherit EdmValue
interface IEdmStringConstantExpression
interface IEdmExpression
interface IEdmStringValue
interface IEdmPrimitiveValue
interface IEdmValue
interface IEdmElement
end
public class EdmStringConstant extends EdmValue implements IEdmStringConstantExpression, IEdmExpression, IEdmStringValue, IEdmPrimitiveValue, IEdmValue, IEdmElement
The EdmStringConstant type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmStringConstant(String) | Initializes a new instance of the EdmStringConstant class. | |
EdmStringConstant(IEdmStringTypeReference, String) | Initializes a new instance of the EdmStringConstant class. |
Top
Properties
Name | Description | |
---|---|---|
ExpressionKind | Gets the kind of this expression. | |
Type | Gets the type of this value. (Inherited from EdmValue.) | |
Value | Gets the definition of this value. | |
ValueKind | Gets the kind of this value. (Overrides EdmValue.ValueKind.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
Errors | Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. (Defined by ValidationExtensionMethods.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
IsSerializedAsElement | Gets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
SetIsSerializedAsElement | Sets an annotation indicating if the value should be serialized as an element. (Defined by SerializationExtensionMethods.) | |
TryAssertType(IEdmTypeReference, IEnumerable<EdmError>%) | Overloaded. Determines if the type of an expression is compatible with the provided type. (Defined by ExpressionTypeChecker.) | |
TryAssertType(IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>%) | Overloaded. Determines if the type of an expression is compatible with the provided type (Defined by ExpressionTypeChecker.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEdmDelayedValue.Value | Gets the value of the specified object. (Inherited from EdmValue.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.