ODataSerializerContext.RootElementName Property
Gets or sets the root element name which is used when writing primitive types and complex types.
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public string RootElementName {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public:
property String^ RootElementName {
[CompilerGeneratedAttribute]
String^ get();
[CompilerGeneratedAttribute]
void set(String^ value);
}
member RootElementName : string with get, set
Public Property RootElementName As String
Property Value
Type: System.String
See Also
ODataSerializerContext Class
System.Web.Http.OData.Formatter.Serialization Namespace
Return to top