Show / Hide Table of Contents

Interface IRootable

Interface for additional methods on elements that are allowed at the root of a model file.

Namespace: DTDLParser
Assembly: DTDLParser.dll
Syntax
public interface IRootable

Methods

| Edit this page View Source

GetJsonLd()

Gets a JsonElement that holds the portion of the DTDL model that defines this rootable element.

Declaration
JsonElement GetJsonLd()
Returns
Type Description
JsonElement

A JsonElement object containing the JSON structure.

| Edit this page View Source

GetJsonLdText()

Gets a JSON string that holds the portion of the DTDL model that defines this rootable element.

Declaration
string GetJsonLdText()
Returns
Type Description
string

A string containing the JSON text.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX