Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyGeneratedEventArgs Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides data for the OnPropertyGenerated event.

Namespace:   System.Data.Entity.Design
Assembly:  System.Data.Entity.Design (in System.Data.Entity.Design.dll)

System.Object
  System.EventArgs
    System.Data.Entity.Design.PropertyGeneratedEventArgs

public sealed class PropertyGeneratedEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodPropertyGeneratedEventArgs()

Initializes a new instance of the PropertyGeneratedEventArgs class.

System_CAPS_pubmethodPropertyGeneratedEventArgs(MetadataItem, String, CodeTypeReference)

Initializes a new instance of the PropertyGeneratedEventArgs class with the specified property source, backing field name, and return type.

NameDescription
System_CAPS_pubpropertyAdditionalAttributes

Gets a List(CodeAttributeDeclaration) of attributes that will be added to the property.

System_CAPS_pubpropertyAdditionalGetStatements

Gets a List(CodeStatement) containing the get statements to be added to the property.

System_CAPS_pubpropertyAdditionalSetStatements

Gets a List(CodeStatement) containing the set statements to be added to the property.

System_CAPS_pubpropertyBackingFieldName

Gets the name of the field that backs the property.

System_CAPS_pubpropertyPropertySource

Gets the MetadataItem object that is the source of the property.

System_CAPS_pubpropertyReturnType

Gets or sets the type of the property.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2018 Microsoft