AnnotationSegment Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Segment reprezentujący adnotację
public sealed class AnnotationSegment : Microsoft.OData.UriParser.ODataPathSegment
type AnnotationSegment = class
inherit ODataPathSegment
Public NotInheritable Class AnnotationSegment
Inherits ODataPathSegment
- Dziedziczenie
Konstruktory
AnnotationSegment(IEdmTerm) |
Tworzenie segmentu na podstawie terminu adnotacji |
Właściwości
EdmType |
Pobiera element IEdmType z tego AnnotationSegmentobiektu . |
Identifier |
Zwraca identyfikator dla tego segmentu, tj. część ciągu bez kluczy. (Odziedziczone po ODataPathSegment) |
Term |
Pobiera termin adnotacji reprezentowany przez ten segment. |
Metody
HandleWith(PathSegmentHandler) |
Obsługa AnnotationSegment obiektu przy użyciu wystąpienia klasy PathSegmentHandler. |
TranslateWith<T>(PathSegmentTranslator<T>) |
AnnotationSegment Tłumaczenie obiektu przy użyciu wystąpienia /PathSegmentTranslator<T>>. |