del método TaxonomyField.OnAddingToContentType
Occurs when a TaxonomyField object is added to a specified content type.
Espacio de nombres: Microsoft.SharePoint.Taxonomy
Ensamblado: Microsoft.SharePoint.Taxonomy (en Microsoft.SharePoint.Taxonomy.dll)
Sintaxis
'Declaración
Public Overrides Sub OnAddingToContentType ( _
contentType As SPContentType _
)
'Uso
Dim instance As TaxonomyField
Dim contentType As SPContentType
instance.OnAddingToContentType(contentType)
public override void OnAddingToContentType(
SPContentType contentType
)
Parámetros
contentType
Tipo: Microsoft.SharePoint.SPContentTypeA SPContentType object that represents the content type.
Comentarios
If the contentType parameter is una referencia null (Nothing en Visual Basic), or its FieldLinks property is null, or its ParentWeb object has no available fields, this method has no effect.