Delen via


CreativeWork Constructors

Definition

Overloads

CreativeWork()

Initializes a new instance of the CreativeWork class.

CreativeWork(String, String, String, IList<Action>, IList<Action>, String, String, String, String, IList<Thing>, IList<Thing>, IList<Thing>, Thing, String, String, Nullable<Int32>, Thing, String, Thing, Nullable<Int32>, String, Nullable<Boolean>, IList<String>, Nullable<Boolean>)

Initializes a new instance of the CreativeWork class.

CreativeWork()

Initializes a new instance of the CreativeWork class.

public CreativeWork ();
Public Sub New ()

Applies to

CreativeWork(String, String, String, IList<Action>, IList<Action>, String, String, String, String, IList<Thing>, IList<Thing>, IList<Thing>, Thing, String, String, Nullable<Int32>, Thing, String, Thing, Nullable<Int32>, String, Nullable<Boolean>, IList<String>, Nullable<Boolean>)

Initializes a new instance of the CreativeWork class.

public CreativeWork (string id = default, string readLink = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> potentialAction = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> immediateAction = default, string preferredClickthroughUrl = default, string adaptiveCard = default, string url = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> about = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> mentions = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> provider = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing creator = default, string text = default, string discussionUrl = default, int? commentCount = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing mainEntity = default, string headLine = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing copyrightHolder = default, int? copyrightYear = default, string disclaimer = default, bool? isAccessibleForFree = default, System.Collections.Generic.IList<string> genre = default, bool? isFamilyFriendly = default);
new Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.CreativeWork : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing * string * string * Nullable<int> * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing * string * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing * Nullable<int> * string * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.CreativeWork
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional potentialAction As IList(Of Action) = Nothing, Optional immediateAction As IList(Of Action) = Nothing, Optional preferredClickthroughUrl As String = Nothing, Optional adaptiveCard As String = Nothing, Optional url As String = Nothing, Optional thumbnailUrl As String = Nothing, Optional about As IList(Of Thing) = Nothing, Optional mentions As IList(Of Thing) = Nothing, Optional provider As IList(Of Thing) = Nothing, Optional creator As Thing = Nothing, Optional text As String = Nothing, Optional discussionUrl As String = Nothing, Optional commentCount As Nullable(Of Integer) = Nothing, Optional mainEntity As Thing = Nothing, Optional headLine As String = Nothing, Optional copyrightHolder As Thing = Nothing, Optional copyrightYear As Nullable(Of Integer) = Nothing, Optional disclaimer As String = Nothing, Optional isAccessibleForFree As Nullable(Of Boolean) = Nothing, Optional genre As IList(Of String) = Nothing, Optional isFamilyFriendly As Nullable(Of Boolean) = Nothing)

Parameters

id
String

A String identifier.

readLink
String

The URL that returns this resource.

webSearchUrl
String

The URL To Bing's search result for this item.

potentialAction
IList<Action>
immediateAction
IList<Action>
preferredClickthroughUrl
String
adaptiveCard
String
url
String

The URL to get more information about the thing represented by this object.

thumbnailUrl
String

The URL to a thumbnail of the item.

about
IList<Thing>

For internal use only.

mentions
IList<Thing>

For internal use only.

provider
IList<Thing>

The source of the creative work.

creator
Thing
text
String

Text content of this creative work

discussionUrl
String
commentCount
Nullable<Int32>
mainEntity
Thing
headLine
String
copyrightHolder
Thing
copyrightYear
Nullable<Int32>
disclaimer
String
isAccessibleForFree
Nullable<Boolean>
genre
IList<String>
isFamilyFriendly
Nullable<Boolean>

Applies to