Click or drag to resize

Entity(WikiSite, EntityType) Constructor

This is preliminary documentation and is subject to change.

Initializes a new Entity entity from Wikibase site, marked for creation.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Entity(
	WikiSite site,
	EntityType type
)

Parameters

site  WikiSite
Wikibase site.
type  EntityType
Type of the new entity.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiontype is neither Item nor Property.
ArgumentNullExceptionEither site is null.
See Also