Bagikan melalui


CodeDomDocDataAdapter.TypeNamespace Property

Gets the code namespace for this document.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property TypeNamespace As CodeNamespace
public virtual CodeNamespace TypeNamespace { get; }
public:
virtual property CodeNamespace^ TypeNamespace {
    CodeNamespace^ get ();
}
abstract TypeNamespace : CodeNamespace
override TypeNamespace : CodeNamespace
function get TypeNamespace () : CodeNamespace

Property Value

Type: System.CodeDom.CodeNamespace
The CodeNamespace, or the first one if there are multiple types in the project.

.NET Framework Security

See Also

Reference

CodeDomDocDataAdapter Class

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace