Uredi

Deli z drugimi prek


ObjectContext.DefaultContainerName Property

Definition

Gets or sets the default container name.

public:
 property System::String ^ DefaultContainerName { System::String ^ get(); void set(System::String ^ value); };
public string DefaultContainerName { get; set; }
member this.DefaultContainerName : string with get, set
Public Property DefaultContainerName As String

Property Value

A String that is the default container name.

Remarks

DefaultContainerName never returns null; it either returns the value that was set or an empty string. The user can set this property to null, but internally the name will be set to an empty string, so the user never needs to check for both an empty string and null.

The default container name is also defined as part of a constructor. If the default container name is set through the protected constructor, the property becomes read-only.

Applies to

See also